{
  "$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-type-controller-appointment-type-schema.json",
  "title": "RESTCollectionModelBase_OpenApiAppointmentTypeController.AppointmentType",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/shepherd-vet-appointmenttype-api-openapi.yml#/components/schemas/RESTCollectionModelBase_OpenApiAppointmentTypeController.AppointmentType",
  "type": "object",
  "properties": {
    "embed": {
      "type": "string"
    },
    "item": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/OpenApiAppointmentTypeController.AppointmentType"
      }
    },
    "page": {
      "format": "int32",
      "type": "integer"
    },
    "recordsPerPage": {
      "format": "int32",
      "type": "integer"
    },
    "searchQuery": {
      "type": "string"
    },
    "sort": {
      "type": "string"
    },
    "totalRecords": {
      "format": "int32",
      "type": "integer"
    }
  },
  "$defs": {
    "OpenApiAppointmentTypeController.AppointmentType": {
      "description": "AppointmentType REST model.",
      "type": "object",
      "properties": {
        "color": {
          "description": "Hexadecimal string representing the color associated with the appointment type (e.g. \"#1976d2\").",
          "type": "string"
        },
        "directBookingEnabled": {
          "description": "Flag indicating whether this appointment type is eligible for direct booking (the per-type\n\"Enable Direct Booking\" setting). Returned as-is regardless of the Pet Portal Direct Booking\nmaster switch.",
          "type": "boolean"
        },
        "duration": {
          "format": "int32",
          "description": "The default duration (in minutes) of the appointment type.",
          "type": "integer"
        },
        "isDeleted": {
          "description": "Flag indicating if appointment type is deleted.",
          "type": "boolean"
        },
        "name": {
          "description": "The appointment type name.",
          "type": "string"
        },
        "dateCreated": {
          "format": "date-time",
          "type": "string"
        },
        "dateUpdated": {
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      }
    }
  }
}