{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/prizmad-com/json-schema/prizmad-com-template-schema.json",
  "title": "Template",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/prizmad-com-openapi.json#/components/schemas/Template",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "category": {
      "type": "string",
      "enum": [
        "hooks",
        "avatar-pitch",
        "product-showcase"
      ]
    },
    "fixedDuration": {
      "type": [
        "integer",
        "null"
      ]
    },
    "cost": {
      "type": "integer",
      "description": "Token cost"
    },
    "features": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "requires": {
      "type": "object",
      "properties": {
        "avatar": {
          "type": "boolean"
        },
        "voice": {
          "type": "boolean"
        }
      }
    }
  }
}