{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-available-number-schema.json",
  "title": "AvailableNumber",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sinch-available-numbers-api-openapi.yml#/components/schemas/AvailableNumber",
  "type": "object",
  "properties": {
    "phoneNumber": {
      "type": "string",
      "description": "The phone number in E.164 format"
    },
    "regionCode": {
      "type": "string",
      "description": "The ISO 3166-1 alpha-2 country code"
    },
    "type": {
      "type": "string",
      "description": "The number type"
    },
    "capability": {
      "type": "array",
      "description": "The number capabilities",
      "items": {
        "type": "string"
      }
    },
    "setupPrice": {
      "$ref": "#/$defs/Money"
    },
    "monthlyPrice": {
      "$ref": "#/$defs/Money"
    },
    "paymentIntervalMonths": {
      "type": "integer",
      "description": "The billing interval in months"
    }
  },
  "$defs": {
    "Money": {
      "type": "object",
      "properties": {
        "currencyCode": {
          "type": "string",
          "description": "The ISO 4217 currency code"
        },
        "amount": {
          "type": "string",
          "description": "The monetary amount as a string"
        }
      }
    }
  }
}