{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/vonage/main/json-schema/vonage-number-details-schema.json",
  "title": "number-details",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vonage-numbers-openapi.yml#/components/schemas/number-details",
  "type": "object",
  "properties": {
    "country": {
      "$ref": "#/$defs/country"
    },
    "msisdn": {
      "type": "string",
      "description": "An available inbound virtual number."
    },
    "target_api_key": {
      "type": "string",
      "description": "If you’d like to perform an action on a subaccount, provide the `api_key` of that account here. If you’d like to perform an action on your own account, you do not need to provide this field."
    }
  },
  "required": [
    "country",
    "msisdn"
  ],
  "$defs": {
    "country": {
      "type": "string",
      "minLength": 2,
      "maxLength": 2,
      "description": "The two character country code in ISO 3166-1 alpha-2 format"
    }
  }
}