{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rendry-io/json-schema/rendry-io-cloned-preset-schema.json",
  "title": "ClonedPreset",
  "description": "The reply of POST /templates/{id}/clone: a renderable preset made from the gallery template.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rendry-io-templates-api-openapi.yml#/components/schemas/ClonedPreset",
  "type": "object",
  "required": [
    "preset_id",
    "name",
    "variables"
  ],
  "properties": {
    "preset_id": {
      "type": "string",
      "description": "The new template's group id — pass it to /render/*"
    },
    "name": {
      "type": "string"
    },
    "variables": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Every {variable} the template accepts in dynamic_data"
    },
    "sample_data": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Realistic sample values for every variable"
    },
    "hint": {
      "type": "string"
    },
    "duplicate_note": {
      "type": "string",
      "description": "Sent when the account already holds a clone of this template: the slot was spent again"
    }
  }
}