{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amberai/json-schema/amberai-document-types-schema.json",
  "title": "DocumentTypes",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amberai-document-types-api-openapi.yml#/components/schemas/DocumentTypes",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "domain": {
      "type": "string"
    },
    "ownerType": {
      "type": [
        "string",
        "null"
      ]
    },
    "ownerId": {
      "type": [
        "string",
        "null"
      ]
    },
    "code": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "origin": {
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "type": "string"
    },
    "defaultVisibility": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "domain",
    "ownerType",
    "ownerId",
    "code",
    "name",
    "description",
    "origin",
    "kind",
    "defaultVisibility",
    "createdAt",
    "updatedAt"
  ],
  "additionalProperties": false
}