{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/4chems-com/json-schema/4chems-com-template-v1-out-schema.json",
  "title": "TemplateV1Out",
  "description": "Customer-facing (/v1) catalog item (UC-072).\n\nDeliberately narrower than ``TemplateOut``: ``version``, ``image_url`` and\n``repository_url`` are dropped — no data source populates them and they were\npermanently null in the public response. The `/infra` catalog admin schema\n(``TemplateOut``) and the database columns are unchanged.",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/4chems-com-openapi.json#/components/schemas/TemplateV1Out",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "code": {
      "type": "string",
      "title": "Code"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "kind": {
      "type": "string",
      "title": "Kind"
    },
    "legacy": {
      "type": "boolean",
      "title": "Legacy"
    },
    "legacy_note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Legacy Note"
    },
    "includes": {
      "title": "Includes"
    },
    "options": {
      "title": "Options"
    },
    "enabled": {
      "type": "boolean",
      "title": "Enabled"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "code",
    "name",
    "description",
    "kind",
    "legacy",
    "legacy_note",
    "includes",
    "options",
    "enabled",
    "created_at",
    "updated_at"
  ]
}