{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pennsylvania-state-university/json-schema/pennsylvania-state-university-building-event-schema.json",
  "title": "BuildingEvent",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pennsylvania-state-university-events-api-openapi.yml#/components/schemas/BuildingEvent",
  "type": "object",
  "properties": {
    "event": {
      "type": "string",
      "description": "Event code (A = add, U = update)."
    },
    "oldValue": {
      "type": [
        "string",
        "null"
      ]
    },
    "newValue": {
      "type": [
        "string",
        "null"
      ]
    },
    "changeDate": {
      "type": "string",
      "format": "date"
    },
    "fieldName": {
      "type": [
        "string",
        "null"
      ]
    },
    "buildingId": {
      "type": "string"
    }
  }
}