{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telnyx/json-schema/telnyx-sub-number-order-requirement-group-response-schema.json",
  "title": "SubNumberOrderRequirementGroupResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-requirement-groups-api-openapi.yml#/components/schemas/SubNumberOrderRequirementGroupResponse",
  "properties": {
    "data": {
      "properties": {
        "country_code": {
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "customer_reference": {
          "type": "string"
        },
        "id": {
          "format": "uuid",
          "type": "string"
        },
        "is_block_sub_number_order": {
          "type": "boolean"
        },
        "order_request_id": {
          "format": "uuid",
          "type": "string"
        },
        "phone_number_type": {
          "type": "string"
        },
        "phone_numbers": {
          "items": {
            "$ref": "#/$defs/SubNumberOrderPhoneNumber"
          },
          "type": "array"
        },
        "phone_numbers_count": {
          "type": "integer"
        },
        "record_type": {
          "type": "string"
        },
        "regulatory_requirements": {
          "items": {
            "$ref": "#/$defs/RegulatoryRequirement"
          },
          "type": "array"
        },
        "requirements_met": {
          "type": "boolean"
        },
        "status": {
          "type": "string"
        },
        "updated_at": {
          "format": "date-time",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "type": "object",
  "$defs": {
    "RegulatoryRequirement": {
      "properties": {
        "field_type": {
          "type": "string"
        },
        "record_type": {
          "type": "string"
        },
        "requirement_id": {
          "format": "uuid",
          "type": "string"
        }
      },
      "type": "object"
    },
    "SubNumberOrderPhoneNumber": {
      "properties": {
        "bundle_id": {
          "format": "uuid",
          "type": [
            "string",
            "null"
          ]
        },
        "country_code": {
          "type": "string"
        },
        "id": {
          "format": "uuid",
          "type": "string"
        },
        "phone_number": {
          "type": "string"
        },
        "phone_number_type": {
          "type": "string"
        },
        "record_type": {
          "type": "string"
        },
        "regulatory_requirements": {
          "items": {
            "properties": {
              "field_type": {
                "type": "string"
              },
              "field_value": {
                "type": "string"
              },
              "requirement_id": {
                "format": "uuid",
                "type": "string"
              },
              "status": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "requirements_met": {
          "type": "boolean"
        },
        "requirements_status": {
          "type": "string"
        },
        "status": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}