Raw schema
{
"type": "object",
"properties": {
"clientName": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Client full name."
},
"clientEmail": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Client work email."
},
"clientCompany": {
"description": "Client company name, if known.",
"type": "string",
"minLength": 1,
"maxLength": 160
},
"sector": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "Business sector, e.g. manufacturing or food quality."
},
"process": {
"type": "string",
"minLength": 1,
"maxLength": 240,
"description": "Short name of the process under diagnosis, e.g. delivery notes into ERP."
},
"currentWorkflow": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "How the process is done today, including people, tools, and handoffs."
},
"bottlenecks": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 800
},
"description": "Observed bottlenecks, one item per string."
},
"currentSystems": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 800
},
"description": "Systems already in use, e.g. email, PDF, Mago Zucchetti."
},
"volumesAndFrequency": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "Volumes and frequency, e.g. about 40 DDT per day."
},
"baselineMetrics": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 800
},
"description": "Baseline metrics before any Frasma work, e.g. minutes per document."
},
"dataAvailable": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 800
},
"description": "Data that can be shared for a prototype, preferably anonymized samples."
},
"constraints": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 800
},
"description": "Hard constraints, e.g. human validation before ERP import."
},
"desiredOutcomes": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 800
},
"description": "Desired outcomes without invented savings or guarantees."
},
"needCategories": {
"minItems": 1,
"maxItems": 7,
"type": "array",
"items": {
"type": "string",
"enum": [
"document_erp",
"workflow",
"ticketing",
"dataset_benchmark",
"ai_optimization",
"company_wiki",
"ai_presence"
],
"description": "Frasma need category: document_erp, workflow, ticketing, dataset_benchmark, ai_optimization, company_wiki, or ai_presence."
},
"description": "One or more Frasma need categories that fit the diagnosis."
},
"opportunities": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 800
},
"description": "Concrete opportunities that follow from the evidence."
},
"recommendations": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 800
},
"description": "Recommended next steps for a limited prototype or discovery."
},
"openQuestions": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 800
},
"description": "Open questions still to confirm with the client."
},
"nextSteps": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 800
},
"description": "Agreed next steps after reviewing this summary."
},
"language": {
"type": "string",
"enum": [
"it",
"en"
],
"description": "Language of the diagnostic summary: it or en."
},
"honeypot": {
"description": "Anti-spam trap. Must be empty or omitted.",
"type": "string",
"maxLength": 0
}
},
"required": [
"clientName",
"clientEmail",
"sector",
"process",
"currentWorkflow",
"bottlenecks",
"currentSystems",
"volumesAndFrequency",
"baselineMetrics",
"dataAvailable",
"constraints",
"desiredOutcomes",
"needCategories",
"opportunities",
"recommendations",
"openQuestions",
"nextSteps",
"language"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}