{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-contact-request-schema.json",
  "title": "ContactRequest",
  "description": "Public contact form submission. Creates/updates a HubSpot contact and attaches\nthe message as a note. Rate-limited to 10 submissions per hour per source IP\n(in-memory, resets on cold start).\n",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nopaque-co-uk-workspaces-api-openapi.yml#/components/schemas/ContactRequest",
  "type": "object",
  "required": [
    "name",
    "email",
    "message",
    "type",
    "source"
  ],
  "properties": {
    "name": {
      "type": "string",
      "minLength": 2
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "company": {
      "type": "string"
    },
    "message": {
      "type": "string",
      "minLength": 10
    },
    "type": {
      "type": "string",
      "enum": [
        "general",
        "sales",
        "support"
      ]
    },
    "source": {
      "type": "string",
      "description": "Origin of the submission (e.g. `contact-page`, `pricing-page`). Free-form string."
    }
  }
}