{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-purview/json-schema/microsoft-purview-atlas-glossary-category-schema.json",
  "title": "AtlasGlossaryCategory",
  "description": "A glossary category",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-purview-glossary-api-openapi.yml#/components/schemas/AtlasGlossaryCategory",
  "type": "object",
  "properties": {
    "guid": {
      "type": "string",
      "format": "uuid"
    },
    "qualifiedName": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "shortDescription": {
      "type": "string"
    },
    "longDescription": {
      "type": "string"
    },
    "anchor": {
      "$ref": "#/$defs/AtlasGlossaryHeader"
    },
    "parentCategory": {
      "$ref": "#/$defs/AtlasRelatedCategoryHeader"
    },
    "childrenCategories": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AtlasRelatedCategoryHeader"
      }
    },
    "terms": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AtlasRelatedTermHeader"
      }
    }
  },
  "$defs": {
    "AtlasGlossaryHeader": {
      "type": "object",
      "properties": {
        "displayText": {
          "type": "string"
        },
        "glossaryGuid": {
          "type": "string",
          "format": "uuid"
        },
        "relationGuid": {
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "AtlasRelatedCategoryHeader": {
      "type": "object",
      "properties": {
        "categoryGuid": {
          "type": "string",
          "format": "uuid"
        },
        "description": {
          "type": "string"
        },
        "displayText": {
          "type": "string"
        },
        "parentCategoryGuid": {
          "type": "string",
          "format": "uuid"
        },
        "relationGuid": {
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "AtlasRelatedTermHeader": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string"
        },
        "displayText": {
          "type": "string"
        },
        "expression": {
          "type": "string"
        },
        "relationGuid": {
          "type": "string",
          "format": "uuid"
        },
        "status": {
          "type": "string",
          "enum": [
            "DRAFT",
            "ACTIVE",
            "DEPRECATED",
            "OBSOLETE",
            "OTHER"
          ]
        },
        "steward": {
          "type": "string"
        },
        "termGuid": {
          "type": "string",
          "format": "uuid"
        }
      }
    }
  }
}