{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dpf-it-com/json-schema/dpf-it-com-contact-request-schema.json",
  "title": "ContactRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dpf-it-com-contact-api-openapi.yml#/components/schemas/ContactRequest",
  "type": "object",
  "required": [
    "reason",
    "message"
  ],
  "properties": {
    "reason": {
      "type": "string",
      "enum": [
        "request-a-demo",
        "understand-licensing",
        "report-an-issue",
        "request-a-feature"
      ],
      "description": "Reason for contacting"
    },
    "message": {
      "type": "string",
      "description": "Message body (max 5000 characters)",
      "maxLength": 5000
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Contact email address.\n**Required** when unauthenticated (no Authorization header).\n**Ignored** when authenticated — the user's email is retrieved from their account.\n"
    },
    "name": {
      "type": "string",
      "description": "Contact name.\n**Optional** when unauthenticated (used in the contact email if provided).\n**Ignored** when authenticated — the user's name is retrieved from their account.\n"
    }
  }
}