{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/savanto-ai/json-schema/savanto-ai-prompt-input-schema.json",
  "title": "PromptInput",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/savanto-ai-api-openapi.json#/components/schemas/PromptInput",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "prompt": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1000
    },
    "title": {
      "type": "string",
      "maxLength": 200
    },
    "description": {
      "type": "string",
      "maxLength": 500
    },
    "cannedResponse": {
      "type": "string",
      "maxLength": 5000
    },
    "responseFormat": {
      "type": "string",
      "enum": [
        "markdown",
        "text",
        "html"
      ]
    },
    "overrideMode": {
      "type": "string",
      "enum": [
        "override",
        "fallback"
      ]
    },
    "postIds": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 100
      },
      "maxItems": 50
    },
    "productIds": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 100
      },
      "maxItems": 50
    },
    "followUpIds": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 100
      },
      "maxItems": 20
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 50
      },
      "maxItems": 20
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 50
      },
      "maxItems": 10
    },
    "status": {
      "type": "string",
      "maxLength": 50
    },
    "priority": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9999
    },
    "icon": {
      "type": "string",
      "maxLength": 10
    },
    "activeFrom": {
      "type": "string",
      "maxLength": 50
    },
    "activeTo": {
      "type": "string",
      "maxLength": 50
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {}
    }
  },
  "required": [
    "prompt"
  ],
  "additionalProperties": false
}