{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/shepherd-vet/json-schema/shepherd-vet-restcollection-model-base-open-api-appointment-cancellation-reason-controller-appointment-cancellation-reason-schema.json",
  "title": "RESTCollectionModelBase_OpenApiAppointmentCancellationReasonController.AppointmentCancellationReason",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/shepherd-vet-appointmentcancellationreason-api-openapi.yml#/components/schemas/RESTCollectionModelBase_OpenApiAppointmentCancellationReasonController.AppointmentCancellationReason",
  "type": "object",
  "properties": {
    "embed": {
      "type": "string"
    },
    "item": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/OpenApiAppointmentCancellationReasonController.AppointmentCancellationReason"
      }
    },
    "page": {
      "format": "int32",
      "type": "integer"
    },
    "recordsPerPage": {
      "format": "int32",
      "type": "integer"
    },
    "searchQuery": {
      "type": "string"
    },
    "sort": {
      "type": "string"
    },
    "totalRecords": {
      "format": "int32",
      "type": "integer"
    }
  },
  "$defs": {
    "OpenApiAppointmentCancellationReasonController.AppointmentCancellationReason": {
      "description": "Appointment cancellation reason REST model.",
      "type": "object",
      "properties": {
        "defaultCancellationReasonType": {
          "format": "int32",
          "description": "The Default cancellation reason type.\nRepresents source of cancellation reason.\n0 for Pet portal, 1 for Patient deceased, 2 for Bulk edit, 3 for OpenAPI and null for custom.",
          "type": "integer"
        },
        "isActive": {
          "description": "Flag indicating if cancellation reason is active.",
          "type": "boolean"
        },
        "name": {
          "description": "The appointment cancellation reason name.",
          "type": "string"
        },
        "dateCreated": {
          "format": "date-time",
          "type": "string"
        },
        "dateUpdated": {
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      }
    }
  }
}