{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/calypsoai-com/json-schema/calypsoai-com-post-chats-from-template-body-schema.json",
  "title": "PostChatsFromTemplateBody",
  "description": "Use this if you wish to create a new chat from a prompt template.\n\nThe newly created chat will duplicate all prompts in the prompt template.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/calypsoai-com-chats-api-openapi.yml#/components/schemas/PostChatsFromTemplateBody",
  "properties": {
    "name": {
      "description": "Name of the new chat.",
      "maxLength": 100,
      "minLength": 1,
      "title": "Name",
      "type": "string"
    },
    "promptTemplateId": {
      "description": "ID of the prompt template you wish to use",
      "format": "uuid",
      "title": "Prompttemplateid",
      "type": "string"
    }
  },
  "required": [
    "name",
    "promptTemplateId"
  ],
  "type": "object"
}