{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/axuall/json-schema/axuall-provider-preview-schema-schema.json",
  "title": "ProviderPreviewSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/axuall-provider-preview-api-openapi.yml#/components/schemas/ProviderPreviewSchema",
  "properties": {
    "name": {
      "$ref": "#/$defs/NameSchema-Output"
    },
    "degree": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Degree"
    },
    "date_of_birth": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Date Of Birth"
    },
    "state_licenses": {
      "items": {
        "$ref": "#/$defs/StateLicenseSchema-Output"
      },
      "type": "array",
      "title": "State Licenses",
      "default": []
    },
    "dea_licenses": {
      "items": {
        "$ref": "#/$defs/DEALicenseSchema"
      },
      "type": "array",
      "title": "Dea Licenses",
      "default": []
    },
    "abms_board_certifications": {
      "items": {
        "$ref": "#/$defs/ABMSBoardCertSchema"
      },
      "type": "array",
      "title": "Abms Board Certifications",
      "default": []
    }
  },
  "type": "object",
  "required": [
    "name"
  ],
  "$defs": {
    "ABMSBoardCertSchema": {
      "properties": {
        "board": {
          "type": "string",
          "title": "Board"
        },
        "specialty": {
          "type": "string",
          "title": "Specialty"
        }
      },
      "type": "object",
      "required": [
        "board",
        "specialty"
      ],
      "title": "ABMSBoardCertSchema"
    },
    "DEALicenseSchema": {
      "properties": {
        "state": {
          "type": "string",
          "title": "State"
        },
        "license_number": {
          "type": "string",
          "title": "License Number"
        }
      },
      "type": "object",
      "required": [
        "state",
        "license_number"
      ],
      "title": "DEALicenseSchema"
    },
    "NameSchema-Output": {
      "properties": {
        "first_name": {
          "type": "string",
          "title": "First Name"
        },
        "middle_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Middle Name"
        },
        "last_name": {
          "type": "string",
          "title": "Last Name"
        },
        "suffix": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Suffix"
        }
      },
      "type": "object",
      "required": [
        "first_name",
        "last_name"
      ],
      "title": "NameSchema"
    },
    "StateLicenseSchema-Output": {
      "properties": {
        "state": {
          "type": "string",
          "title": "State"
        },
        "license_number": {
          "type": "string",
          "title": "License Number"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "board_actions": {
          "type": "boolean",
          "title": "Board Actions"
        }
      },
      "type": "object",
      "required": [
        "state",
        "license_number",
        "status",
        "board_actions"
      ],
      "title": "StateLicenseSchema"
    }
  }
}