{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/simple-ai/json-schema/simple-ai-phone-number-response-schema.json",
  "title": "PhoneNumberResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/simple-ai-numbers-api-openapi.yml#/components/schemas/PhoneNumberResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "number": {
      "type": "string"
    },
    "friendly_name": {
      "type": "string"
    },
    "area_code": {
      "type": "string"
    },
    "country": {
      "type": "string"
    },
    "agent": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "uuid": {
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "number",
    "friendly_name",
    "area_code",
    "country",
    "status",
    "active",
    "created_at",
    "updated_at"
  ]
}