{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/folio/json-schema/folio-checklist-item-definition-results-schema.json",
  "title": "ChecklistItemDefinitionResults",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/folio-checklist-items-api-openapi.yml#/components/schemas/ChecklistItemDefinitionResults",
  "type": "object",
  "required": [
    "results"
  ],
  "allOf": [
    {
      "$ref": "#/$defs/ResultsMeta"
    },
    {
      "type": "object"
    },
    {
      "properties": {
        "results": {
          "$ref": "#/$defs/ChecklistItemDefinitionResultsArray"
        }
      }
    }
  ],
  "$defs": {
    "ChecklistItemDefinition": {
      "type": "object",
      "required": [
        "id",
        "label"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "dateCreated": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "lastUpdated": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "label": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "weight": {
          "type": "integer",
          "default": 0
        }
      }
    },
    "ChecklistItemDefinitionResultsArray": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ChecklistItemDefinition"
      }
    },
    "ResultsMeta": {
      "type": "object",
      "properties": {
        "meta": {
          "type": "object"
        },
        "page": {
          "type": "integer"
        },
        "pageSize": {
          "type": "integer"
        },
        "total": {
          "type": "integer"
        },
        "totalPages": {
          "type": "integer"
        },
        "totalRecords": {
          "type": "integer"
        }
      }
    }
  }
}