{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/edgechat-ai/json-schema/edgechat-ai-get-events-response-schema.json",
  "title": "GetEventsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/edgechat-ai-events-api-openapi.yml#/components/schemas/GetEventsResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "count": {
      "type": "integer"
    },
    "events": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DatedEvent"
      }
    },
    "note": {
      "type": "string"
    }
  },
  "$defs": {
    "DatedEvent": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string"
        },
        "precision": {
          "type": "string",
          "enum": [
            "year",
            "month",
            "day"
          ]
        },
        "text": {
          "type": "string"
        },
        "para": {
          "type": "integer"
        }
      }
    }
  }
}