Skip to content

Commit

Permalink
Update code/API_definitions/number-recycling.yaml for updating the fo…
Browse files Browse the repository at this point in the history
…rmat of specifiedDate

Co-authored-by: Eric Murray <[email protected]>
  • Loading branch information
yamamoto0104 and eric-murray authored Oct 31, 2024
1 parent fe7ea99 commit b776eb4
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions code/API_definitions/number-recycling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,16 @@ components:
schemas:
CreateCheckNumRecycling:
type: object
oneOf:
- required: [specifiedDateTime]
- required: [specifiedDate]
required:
- specifiedDate
properties:
phoneNumber:
$ref: '#/components/schemas/PhoneNumber'
specifiedDateTime:
type: string
format: date-time
description: Specified date to check whether there has been a change in the subscriber associated with the specific phone number. It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone. Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z)
specifiedDate:
type: string
description: Specified date to check whether there has been a change in the subscriber associated with the specific phone number, in ISO 8601 calendar date format (YYYY-MM-DD).
format: date
description: Specified date to check whether there has been a change in the subscriber associated with the specific phone number, in RFC 3339 calendar date format (YYYY-MM-DD).
example: "2024-10-31"
PhoneNumber:
description: A public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
type: string
Expand Down

0 comments on commit b776eb4

Please sign in to comment.