{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telenor-sverige/json-schema/telenor-sverige-events-response-schema.json",
  "title": "EventsResponse",
  "description": "Response type for getEvents method",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telenor-sverige-cstaevents-api-openapi.yml#/components/schemas/EventsResponse",
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "description": "List of events, if any are available",
      "items": {
        "$ref": "#/$defs/Event"
      }
    }
  },
  "$defs": {
    "Event": {
      "type": "object",
      "properties": {
        "companyId": {
          "type": "string",
          "description": "An ID uniquely identifying a company in our systems. <br />A company may have multiple departments but the groupId would be the same for all of them"
        },
        "timeStamp": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp for the event"
        }
      }
    }
  }
}