{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/calypsoai-com/json-schema/calypsoai-com-post-chats-from-prompt-body-schema.json",
  "title": "PostChatsFromPromptBody",
  "description": "Use this if you wish to create a chat out of a prompt.\n\nThe newly created chat will use the existing prompts referred to instead of duplicating.",
  "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/PostChatsFromPromptBody",
  "properties": {
    "name": {
      "description": "Name of the new chat.",
      "maxLength": 100,
      "minLength": 1,
      "title": "Name",
      "type": "string"
    },
    "promptId": {
      "description": "ID of the prompt you wish to use in the chat",
      "format": "uuid",
      "title": "Promptid",
      "type": "string"
    }
  },
  "required": [
    "name",
    "promptId"
  ],
  "type": "object"
}