{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rewio-ru/json-schema/rewio-ru-support-message-schema.json",
  "title": "SupportMessage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rewio-ru-support-api-openapi.yml#/components/schemas/SupportMessage",
  "properties": {
    "subject": {
      "type": "string",
      "maxLength": 200,
      "minLength": 2,
      "title": "Subject",
      "description": "Тема обращения."
    },
    "message": {
      "type": "string",
      "maxLength": 5000,
      "minLength": 5,
      "title": "Message",
      "description": "Текст обращения."
    },
    "contact": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Contact",
      "description": "Как с вами связаться, если ответ на почту аккаунта вам не подходит: телефон, Telegram, другой адрес. Необязательно."
    }
  },
  "type": "object",
  "required": [
    "subject",
    "message"
  ]
}