{
  "title": "Phone",
  "$id": "https://velocitynetwork.foundation/schemas/phone-v1.0",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "@context": {
      "$ref": "#/definitions/Json-ld-context_Schema"
    },
    "type": {
      "type": "string",
      "default": "Phone"
    },
    "phone": {
      "type": "string",
      "pattern": "^\\+[1-9]\\d{1,14}$",
      "minLength": 8,
      "maxLength": 15,
      "description": "The phone number including prefix."
    }
  },
  "required": [
    "phone"
  ],
  "definitions": {
    "Json-ld-context_Schema": {
      "title": "json-ld-context",
      "oneOf": [
        {
          "type": "string",
          "maxLength": 2048
        },
        {
          "type": "array",
          "minItems": 1,
          "items": {
            "type": "string",
            "maxLength": 2048
          }
        }
      ],
      "description": "Simplified context for Velocity Publishers to Use"
    }
  }
}