{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-purview/json-schema/microsoft-purview-atlas-types-def-schema.json",
  "title": "AtlasTypesDef",
  "description": "The definitions of types",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-purview-type-api-openapi.yml#/components/schemas/AtlasTypesDef",
  "type": "object",
  "properties": {
    "businessMetadataDefs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AtlasTypeDef"
      }
    },
    "classificationDefs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AtlasTypeDef"
      }
    },
    "entityDefs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AtlasTypeDef"
      }
    },
    "enumDefs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AtlasTypeDef"
      }
    },
    "relationshipDefs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AtlasTypeDef"
      }
    },
    "structDefs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AtlasTypeDef"
      }
    },
    "termTemplateDefs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AtlasTypeDef"
      }
    }
  },
  "$defs": {
    "AtlasTypeDef": {
      "type": "object",
      "description": "A type definition",
      "properties": {
        "category": {
          "type": "string",
          "enum": [
            "PRIMITIVE",
            "OBJECT_ID_TYPE",
            "ENUM",
            "STRUCT",
            "CLASSIFICATION",
            "ENTITY",
            "ARRAY",
            "MAP",
            "RELATIONSHIP",
            "TERM_TEMPLATE"
          ]
        },
        "createTime": {
          "type": "integer",
          "format": "int64"
        },
        "createdBy": {
          "type": "string"
        },
        "dateFormatter": {
          "type": "object"
        },
        "description": {
          "type": "string"
        },
        "guid": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "options": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "typeVersion": {
          "type": "string"
        },
        "updateTime": {
          "type": "integer",
          "format": "int64"
        },
        "updatedBy": {
          "type": "string"
        },
        "version": {
          "type": "integer",
          "format": "int64"
        },
        "lastModifiedTS": {
          "type": "string"
        }
      }
    }
  }
}