{
  "$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-note-controller-appointment-note-schema.json",
  "title": "RESTCollectionModelBase_OpenApiAppointmentNoteController.AppointmentNote",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/shepherd-vet-appointmentnote-api-openapi.yml#/components/schemas/RESTCollectionModelBase_OpenApiAppointmentNoteController.AppointmentNote",
  "type": "object",
  "properties": {
    "embed": {
      "type": "string"
    },
    "item": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/OpenApiAppointmentNoteController.AppointmentNote"
      }
    },
    "page": {
      "format": "int32",
      "type": "integer"
    },
    "recordsPerPage": {
      "format": "int32",
      "type": "integer"
    },
    "searchQuery": {
      "type": "string"
    },
    "sort": {
      "type": "string"
    },
    "totalRecords": {
      "format": "int32",
      "type": "integer"
    }
  },
  "$defs": {
    "OpenApiAppointmentNoteController.AdditionalUserInfo": {
      "description": "REST model representing the additional User info.",
      "type": "object",
      "properties": {
        "isDoctor": {
          "description": "Flag indicating whether this user is doctor.",
          "type": "boolean"
        },
        "prefix": {
          "description": "User's assigned prefix (e.g., \"Dr.\", \"Mr.\", \"Mrs.\").",
          "type": "string"
        },
        "suffix": {
          "description": "User's assigned suffix (e.g., \"MD\", \"PhD\", \"Jr.\").",
          "type": "string"
        },
        "dateCreated": {
          "format": "date-time",
          "type": "string"
        },
        "dateUpdated": {
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      }
    },
    "OpenApiAppointmentNoteController.AppointmentNote": {
      "description": "REST model representing the User who created this note.",
      "type": "object",
      "properties": {
        "additionalUserInfo": {
          "$ref": "#/$defs/OpenApiAppointmentNoteController.AdditionalUserInfo",
          "description": "Object representing the additional user info of related User entity."
        },
        "appointmentId": {
          "format": "uuid",
          "description": "Unique identifier representing the appointment this note belongs to.",
          "type": "string"
        },
        "createdByUser": {
          "$ref": "#/$defs/OpenApiAppointmentNoteController.CreatedByUser",
          "description": "Object representing the additional info of user who created this appointment note."
        },
        "createdByUserId": {
          "format": "uuid",
          "description": "Unique identifier representing the user who created this appointment note.",
          "type": "string"
        },
        "editedByUser": {
          "$ref": "#/$defs/OpenApiAppointmentNoteController.CreatedByUser",
          "description": "Object representing the additional info of user who edited this appointment note."
        },
        "editedByUserId": {
          "format": "uuid",
          "description": "Unique identifier representing the user who edited this appointment note.",
          "type": "string"
        },
        "note": {
          "description": "Free-text content of the note.",
          "type": "string"
        },
        "taggedTeamsIds": {
          "description": "List of tagged team identifiers associated with this note.",
          "type": "array",
          "items": {
            "format": "uuid",
            "type": "string"
          }
        },
        "taggedUsersIds": {
          "description": "List of tagged user identifiers associated with this note.",
          "type": "array",
          "items": {
            "format": "uuid",
            "type": "string"
          }
        },
        "dateCreated": {
          "format": "date-time",
          "type": "string"
        },
        "dateUpdated": {
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      }
    },
    "OpenApiAppointmentNoteController.CreatedByUser": {
      "description": "REST model representing the info of the User who created this note.",
      "type": "object",
      "properties": {
        "firstName": {
          "description": "The user's first name.",
          "type": "string"
        },
        "lastName": {
          "description": "The user's last name.",
          "type": "string"
        },
        "dateCreated": {
          "format": "date-time",
          "type": "string"
        },
        "dateUpdated": {
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      }
    }
  }
}