{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/buildervet-au/json-schema/buildervet-au-timeline-schema.json",
  "title": "Timeline",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/buildervet-au-api-openapi.yml#/components/schemas/Timeline",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "severity": {
            "type": "string",
            "enum": [
              "info",
              "watch",
              "risk"
            ]
          },
          "summary": {
            "type": "string"
          },
          "occurredOn": {
            "type": [
              "string",
              "null"
            ]
          },
          "sourceId": {
            "type": "string"
          },
          "onlyAvailableHere": {
            "type": "boolean",
            "description": "True when upstream has deleted this record; BuilderVet retained a dated copy. This does not imply exclusive access."
          }
        }
      }
    }
  }
}