{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frasma-org/json-schema/frasma-org-process-assessment-request-schema.json",
  "title": "ProcessAssessmentRequest",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frasma-org-openapi.json#/components/schemas/ProcessAssessmentRequest",
  "type": "object",
  "required": [
    "name",
    "clientEmail",
    "process"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 120
    },
    "clientEmail": {
      "type": "string",
      "format": "email"
    },
    "company": {
      "type": "string",
      "maxLength": 120
    },
    "role": {
      "type": "string",
      "maxLength": 120
    },
    "process": {
      "type": "string",
      "minLength": 20,
      "maxLength": 2000
    },
    "systems": {
      "type": "string",
      "maxLength": 500
    },
    "volume": {
      "type": "string",
      "maxLength": 500
    },
    "conversationId": {
      "type": "string",
      "format": "uuid",
      "description": "Present when submitted from the chat widget."
    },
    "lang": {
      "type": "string",
      "enum": [
        "it",
        "en"
      ]
    },
    "honeypot": {
      "type": "string",
      "description": "Spam-prevention field. Leave empty."
    }
  }
}