{
  "$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-requests-create-management-event-request-schema.json",
  "title": "Alto.PropertyManagement.Api.Models.Requests.CreateManagementEventRequest",
  "description": "Request model for creating a new management event",
  "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.Requests.CreateManagementEventRequest",
  "required": [
    "eventType",
    "linkedId",
    "linkedType",
    "negotiatorId"
  ],
  "type": "object",
  "properties": {
    "eventType": {
      "minLength": 1,
      "type": "string",
      "description": "The type of management event."
    },
    "linkedType": {
      "minLength": 1,
      "type": "string",
      "description": "The entity associated with the management event."
    },
    "linkedId": {
      "type": "integer",
      "description": "The id of the entity associated with the management event.",
      "format": "int32"
    },
    "negotiatorId": {
      "type": "integer",
      "description": "The id of the negotiator associated with the management event.",
      "format": "int32"
    },
    "dueDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "The date the management event is due to be completed.",
      "format": "date-time"
    },
    "notes": {
      "maxLength": 2000,
      "type": [
        "string",
        "null"
      ],
      "description": "Additional notes for the management event."
    }
  },
  "additionalProperties": false
}