{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/makespdf-com/json-schema/makespdf-com-template-list-schema.json",
  "title": "TemplateList",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/makespdf-com-openapi.json#/components/schemas/TemplateList",
  "type": "object",
  "required": [
    "templates",
    "total",
    "limit",
    "offset"
  ],
  "properties": {
    "templates": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TemplateSummary"
      }
    },
    "total": {
      "type": "integer"
    },
    "limit": {
      "type": "integer"
    },
    "offset": {
      "type": "integer"
    }
  },
  "$defs": {
    "TemplateSummary": {
      "type": "object",
      "required": [
        "templateId",
        "name",
        "category",
        "tags",
        "createdAt",
        "updatedAt"
      ],
      "properties": {
        "templateId": {
          "type": "string",
          "description": "Library slug or user template UUID."
        },
        "ownerUserId": {
          "type": [
            "string",
            "null"
          ],
          "description": "null for curated library rows."
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "category": {
          "type": [
            "string",
            "null"
          ]
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}