{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bellatorsi-com/json-schema/bellatorsi-com-contact-submission-request-schema.json",
  "title": "ContactSubmissionRequest",
  "description": "Request schema for contact form submission.\n\nSupports multiple submission types:\n- general_inquiry: General questions about products\n- sales: Enterprise/custom solution inquiries\n- feedback: User feedback from playground (authenticated)\n- waitlist: Join waitlist for future tiers\n- newsletter: Blog / marketing email list signup (consent required upstream)",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bellatorsi-com-contact-form-api-openapi.yml#/components/schemas/ContactSubmissionRequest",
  "properties": {
    "submission_type": {
      "type": "string",
      "pattern": "^(general_inquiry|sales|feedback|waitlist|newsletter)$",
      "title": "Submission Type",
      "description": "Type of submission: general_inquiry, sales, feedback, waitlist, newsletter"
    },
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "Submitter's name"
    },
    "email": {
      "type": "string",
      "maxLength": 255,
      "minLength": 5,
      "title": "Email",
      "description": "Submitter's email address"
    },
    "company": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ],
      "title": "Company",
      "description": "Submitter's company"
    },
    "message": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 5000
        },
        {
          "type": "null"
        }
      ],
      "title": "Message",
      "description": "Submission message"
    },
    "waitlist_types": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Waitlist Types",
      "description": "Waitlist types to join (starter_tier, professional_tier)"
    },
    "source_page": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Page",
      "description": "Page where form was submitted"
    },
    "recaptcha_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Recaptcha Token",
      "description": "reCAPTCHA v3 token for spam prevention"
    }
  },
  "type": "object",
  "required": [
    "submission_type",
    "email"
  ]
}