{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/editsquare/json-schema/editsquare-template-list-schema.json",
  "title": "TemplateList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/editsquare-templates-api-openapi.yml#/components/schemas/TemplateList",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TemplateSummary"
      }
    }
  },
  "required": [
    "data"
  ],
  "$defs": {
    "TemplateSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "project_id": {
          "type": "string"
        },
        "target_composition_id": {
          "type": "string",
          "description": "The composition this template renders."
        },
        "field_count": {
          "type": "number"
        }
      },
      "required": [
        "id",
        "name",
        "description",
        "project_id",
        "target_composition_id",
        "field_count"
      ]
    }
  }
}