{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aisoup-net/json-schema/aisoup-net-contact-message-request-schema.json",
  "title": "ContactMessageRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aisoup-net-platform-openapi.json#/components/schemas/ContactMessageRequest",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 2,
      "title": "Name"
    },
    "email": {
      "type": "string",
      "maxLength": 320,
      "minLength": 3,
      "title": "Email"
    },
    "subject": {
      "type": "string",
      "maxLength": 160,
      "minLength": 3,
      "title": "Subject",
      "default": "General inquiry"
    },
    "message": {
      "type": "string",
      "maxLength": 4000,
      "minLength": 20,
      "title": "Message"
    },
    "serviceId": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Serviceid"
    },
    "company": {
      "type": "string",
      "maxLength": 200,
      "title": "Company",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "name",
    "email",
    "message"
  ]
}