{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elhub/json-schema/elhub-event-schema.json",
  "title": "event",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elhub-event-api-openapi.yml#/components/schemas/event",
  "properties": {
    "id": {
      "description": "Note:\nThis is a Primary Key.<pk/>",
      "format": "bigint",
      "type": "integer"
    },
    "specversion": {
      "format": "text",
      "type": "string"
    },
    "type": {
      "format": "public.ltree",
      "type": "string"
    },
    "data": {
      "format": "jsonb",
      "type": "object"
    },
    "source": {
      "format": "text",
      "type": "string"
    },
    "subject": {
      "format": "text",
      "type": "string"
    },
    "time": {
      "format": "timestamp with time zone",
      "type": "string"
    }
  },
  "type": "object"
}