{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/open-government-portugal/json-schema/open-government-portugal-support-contact-schema.json",
  "title": "SupportContact",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/open-government-portugal-site-api-openapi.yml#/components/schemas/SupportContact",
  "properties": {
    "email": {
      "description": "Sender email address",
      "type": "string"
    },
    "message": {
      "description": "Body of the support request",
      "type": "string"
    },
    "recaptcha_token": {
      "description": "Google reCAPTCHA v3 token (verified server-side)",
      "type": "string"
    },
    "subject": {
      "description": "Subject line",
      "type": "string"
    },
    "topic": {
      "description": "Topic of the support request",
      "enum": [
        "question",
        "bug",
        "feedback"
      ],
      "type": "string"
    }
  },
  "required": [
    "email",
    "message",
    "subject",
    "topic"
  ],
  "type": "object"
}