{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://raw.githubusercontent.com/api-evangelist/verifone/refs/heads/main/json-schema/order-service-api-phone.json", "title": "Phone number", "description": "A simple Phone Number", "type": "object", "additionalProperties": false, "properties": { "callingCode": { "description": "Country Calling Code. Mapped to PARTY_PHONE.CALLING_CODE or VENUE_PHONE.CALLING_CODE", "type": "string" }, "value": { "description": "The actual phone number less country code and/or extension.", "type": "string", "minLength": 5 }, "extension": { "description": "The internal extension number where applicable or known.", "type": "string" }, "isPrimary": { "description": "Indicates that the phone is a the primary phone. Mapped to PARTY_PHONE_PRIMARY", "type": "boolean", "default": false }, "phoneType": { "$ref": "#/components/schemas/PhoneTypeEnum" } }, "required": [ "value", "phoneType" ] }