{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "GCC Insurance Prompt Schema", "description": "Schema for validating prompt templates in the Claims-GPT system", "type": "object", "required": ["id", "name", "version", "template", "category"], "properties": { "id": { "type": "string", "pattern": "^prompt-[a-z0-9-]+$", "description": "Unique identifier for the prompt" }, "name": { "type": "string", "minLength": 3, "maxLength": 100, "description": "Human-readable name for the prompt" }, "version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$", "description": "Semantic version of the prompt" }, "template": { "type": "string", "minLength": 10, "description": "The prompt template with {{placeholders}}" }, "category": { "type": "string", "enum": ["claims-processing", "fraud-detection", "customer-service", "underwriting", "risk-assessment"], "description": "Category of the prompt" }, "variables": { "type": "array", "items": { "type": "object", "required": ["name", "type"], "properties": { "name": {"type": "string"}, "type": {"type": "string", "enum": ["string", "number", "boolean", "array", "object"]}, "required": {"type": "boolean", "default": false}, "description": {"type": "string"} } } }, "metadata": { "type": "object", "properties": { "author": {"type": "string"}, "created": {"type": "string", "format": "date-time"}, "updated": {"type": "string", "format": "date-time"}, "tags": {"type": "array", "items": {"type": "string"}}, "compliance": {"type": "array", "items": {"type": "string", "enum": ["GDPR", "HIPAA", "SOC2", "ISO27001"]}} } } } }