{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/balladic-com/json-schema/balladic-com-announcement-request-schema.json",
  "title": "AnnouncementRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/balladic-com-admin-api-openapi.yml#/components/schemas/AnnouncementRequest",
  "properties": {
    "subject": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "title": "Subject"
    },
    "preheader": {
      "type": "string",
      "maxLength": 200,
      "title": "Preheader",
      "default": ""
    },
    "body": {
      "type": "string",
      "maxLength": 50000,
      "minLength": 1,
      "title": "Body"
    },
    "inactive_days": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 365.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Inactive Days"
    }
  },
  "type": "object",
  "required": [
    "subject",
    "body"
  ]
}