{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/postproxy-dev/json-schema/postproxy-dev-calendar-event-schema.json",
  "title": "CalendarEvent",
  "description": "A social media calendar event for 2026.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postproxy-dev-calendar-api-openapi.yml#/components/schemas/CalendarEvent",
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "format": "date",
      "description": "Event date (YYYY-MM-DD)"
    },
    "name": {
      "type": "string",
      "description": "Event name"
    },
    "type": {
      "type": "string",
      "description": "Event type",
      "enum": [
        "public_holiday",
        "fun_holiday",
        "awareness_day",
        "cultural_event",
        "sporting_event",
        "commerce_event",
        "religious_event",
        "seasonal",
        "remembrance"
      ]
    },
    "category": {
      "type": "string",
      "description": "post_trigger: good opportunity to post; sensitive: post with care; no_post: brands should stay silent or share only respectful acknowledgment",
      "enum": [
        "post_trigger",
        "sensitive",
        "no_post"
      ]
    },
    "countries": {
      "type": [
        "array",
        "null"
      ],
      "description": "Country codes (ISO 3166-1 alpha-2) where applicable, or null for global events",
      "items": {
        "type": "string"
      }
    },
    "tags": {
      "type": "array",
      "description": "Descriptive tags for filtering",
      "items": {
        "type": "string"
      }
    },
    "posting_tip": {
      "type": [
        "string",
        "null"
      ],
      "description": "Optional social media posting guidance"
    }
  }
}