{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alto-vebra/json-schema/alto-vebra-alto-property-management-api-models-responses-management-event-schema.json",
  "title": "Alto.PropertyManagement.Api.Models.Responses.ManagementEvent",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alto-vebra-managementevents-api-openapi.yml#/components/schemas/Alto.PropertyManagement.Api.Models.Responses.ManagementEvent",
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ]
    },
    "propertyId": {
      "type": [
        "string",
        "null"
      ]
    },
    "tenancyId": {
      "type": [
        "string",
        "null"
      ]
    },
    "branchId": {
      "type": [
        "string",
        "null"
      ]
    },
    "eventType": {
      "$ref": "#/$defs/Alto.PropertyManagement.Api.Models.Responses.ManagementEventType"
    },
    "status": {
      "enum": [
        "Unspecified",
        "Pending",
        "InProgress",
        "Complete",
        "Cancelled",
        "Expired"
      ],
      "type": "string"
    },
    "priority": {
      "enum": [
        "Unspecified",
        "High",
        "Normal",
        "Low"
      ],
      "type": "string"
    },
    "critical": {
      "type": "boolean"
    },
    "dueDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "completionDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "reminderDays": {
      "type": "integer",
      "format": "int32"
    },
    "recurring": {
      "type": "boolean"
    },
    "rescheduledForDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "modifiedDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Alto.PropertyManagement.Api.Models.Responses.ManagementEventType": {
      "type": "object",
      "properties": {
        "key": {
          "type": [
            "string",
            "null"
          ]
        },
        "label": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    }
  }
}