{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/LLMPrompt", "title": "LLMPrompt", "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "readOnly": true }, "name": { "type": "string", "description": "Unique prompt name using letters, numbers, hyphens, and underscores only.", "maxLength": 255 }, "prompt": { "description": "Prompt payload as JSON or string data." }, "version": { "type": "integer", "readOnly": true }, "created_by": { "allOf": [ { "$ref": "#/components/schemas/UserBasic" } ], "readOnly": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "deleted": { "type": "boolean", "readOnly": true }, "is_latest": { "type": "boolean", "readOnly": true }, "latest_version": { "type": "integer", "readOnly": true }, "version_count": { "type": "integer", "readOnly": true }, "first_version_created_at": { "type": "string", "readOnly": true }, "outline": { "type": "array", "items": { "$ref": "#/components/schemas/LLMPromptOutlineEntry" }, "readOnly": true } }, "required": [ "created_at", "created_by", "deleted", "first_version_created_at", "id", "is_latest", "latest_version", "name", "outline", "prompt", "updated_at", "version", "version_count" ] }