{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getoneprofile-ai/json-schema/getoneprofile-ai-assistant-prompt-create-schema-schema.json",
  "title": "AssistantPromptCreateSchema",
  "description": "Save one prompt for this workspace to use again.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getoneprofile-ai-assistant-prompt-api-openapi.yml#/components/schemas/AssistantPromptCreateSchema",
  "properties": {
    "body": {
      "description": "The message the card will put in the composer.",
      "maxLength": 2000,
      "minLength": 1,
      "title": "Body",
      "type": "string"
    },
    "title": {
      "anyOf": [
        {
          "maxLength": 60,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "What to call the card. Left out, a name is taken from the prompt's own first sentence, which is what saving a message you already sent does.",
      "title": "Title"
    }
  },
  "required": [
    "body"
  ],
  "type": "object"
}