{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/med-reveal-com/json-schema/med-reveal-com-taxonomy-response-schema.json",
  "title": "TaxonomyResponse",
  "description": "Taxonomy lookup response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/med-reveal-com-taxonomy-api-api-openapi.yml#/components/schemas/TaxonomyResponse",
  "properties": {
    "success": {
      "type": "boolean",
      "title": "Success"
    },
    "data": {
      "anyOf": [
        {
          "$ref": "#/$defs/TaxonomyDetails"
        },
        {
          "type": "null"
        }
      ]
    },
    "meta": {
      "$ref": "#/$defs/ResponseMeta"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error"
    },
    "message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Message"
    }
  },
  "type": "object",
  "required": [
    "success",
    "meta"
  ],
  "$defs": {
    "ResponseMeta": {
      "properties": {
        "requestId": {
          "type": "string",
          "title": "Requestid"
        },
        "timestamp": {
          "type": "string",
          "title": "Timestamp"
        },
        "role": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Role"
        },
        "dailyLimit": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Dailylimit"
        },
        "remainingToday": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Remainingtoday"
        },
        "processingTime": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Processingtime"
        }
      },
      "type": "object",
      "required": [
        "requestId",
        "timestamp"
      ],
      "title": "ResponseMeta",
      "description": "Standard response metadata."
    },
    "TaxonomyDetails": {
      "properties": {
        "code": {
          "type": "string",
          "title": "Code"
        },
        "grouping": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Grouping"
        },
        "classification": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Classification"
        },
        "specialization": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Specialization"
        }
      },
      "type": "object",
      "required": [
        "code"
      ],
      "title": "TaxonomyDetails",
      "description": "Taxonomy code details."
    }
  }
}