{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/folio/main/json-schema/folio-entity-type-summaries-schema.json",
  "title": "EntityTypeSummaries",
  "description": "Entity Type Summary List",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/folio-edge-fqm-openapi.yml#/components/schemas/EntityTypeSummaries",
  "type": "object",
  "properties": {
    "entityTypes": {
      "description": "Entity type list",
      "type": "array",
      "items": {
        "$ref": "#/$defs/EntityTypeSummary"
      }
    },
    "_version": {
      "description": "Current FQL version (same as /fqm/version returns)",
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "entityTypes",
    "_version"
  ],
  "$defs": {
    "EntityTypeSummary": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "description": "Entity Type Summary",
      "type": "object",
      "properties": {
        "id": {
          "description": "Entity type id",
          "type": "string",
          "format": "UUID"
        },
        "label": {
          "description": "Entity type label",
          "type": "string"
        },
        "isCustom": {
          "description": "If this entity type is a custom entity type",
          "type": "boolean"
        },
        "crossTenantQueriesEnabled": {
          "description": "Indicates if this entity type supports cross-tenant queries",
          "type": "boolean",
          "default": false
        },
        "missingPermissions": {
          "description": "List of missing permissions",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "createdAt": {
          "description": "[custom only] The creation timestamp of the entity type",
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "description": "[custom only] The last update timestamp of the entity type",
          "type": "string",
          "format": "date-time"
        }
      },
      "additionalProperties": false,
      "required": [
        "id",
        "label",
        "isCustom"
      ]
    }
  }
}