diff --git a/code/API_definitions/number-recycling.yaml b/code/API_definitions/number-recycling.yaml index 91a2ca4..c900920 100644 --- a/code/API_definitions/number-recycling.yaml +++ b/code/API_definitions/number-recycling.yaml @@ -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