{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vaquill-ai/json-schema/vaquill-ai-playbook-from-template-request-schema.json",
  "title": "PlaybookFromTemplateRequest",
  "description": "Adopt one of our starter templates as an organization playbook.\n\nThe result is an ordinary playbook, owned by the organization and editable.\nNothing links it back to the template afterwards: a template is a starting\npoint, and a live link would imply an update path that does not exist.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vaquill-ai-playbooks-api-openapi.yml#/components/schemas/PlaybookFromTemplateRequest",
  "properties": {
    "templateSlug": {
      "type": "string",
      "maxLength": 120,
      "title": "Templateslug",
      "description": "`slug` of the starter template to adopt, from `GET /v1/playbook-templates`."
    },
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "Name for the new playbook. Omit to take the template's own name."
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1000
        },
        {
          "type": "null"
        }
      ],
      "title": "Description",
      "description": "Description for the new playbook. Omit to take the template's own."
    },
    "jurisdiction": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^([A-Z]{2}|INTL)$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Jurisdiction",
      "description": "Two-letter uppercase jurisdiction code, or `INTL`. Selects which default positions the template resolves."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "templateSlug"
  ]
}