Koha/api/v1/swagger/definitions/hold.json
Tomas Cohen Arazi 105b82b846 Bug 17927: (QA followup) Fix boolean types
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-02-07 17:55:43 +00:00

77 lines
2.1 KiB
JSON

{
"type": "object",
"properties": {
"reserve_id": {
"$ref": "../x-primitives.json#/reserve_id"
},
"borrowernumber": {
"$ref": "../x-primitives.json#/borrowernumber"
},
"reservedate": {
"type": ["string", "null"],
"description": "the date the hold was placed"
},
"biblionumber": {
"$ref": "../x-primitives.json#/biblionumber"
},
"branchcode": {
"type": ["string", "null"],
"description": "code of patron's home branch"
},
"notificationdate": {
"type": ["string", "null"],
"description": "currently unused"
},
"reminderdate": {
"type": ["string", "null"],
"description": "currently unused"
},
"cancellationdate": {
"type": ["string", "null"],
"description": "the date the hold was cancelled"
},
"reservenotes": {
"type": ["string", "null"],
"description": "notes related to this hold"
},
"priority": {
"type": ["integer", "null"],
"description": "where in the queue the patron sits"
},
"found": {
"type": ["string", "null"],
"description": "a one letter code defining what the status of the hold is after it has been confirmed"
},
"timestamp": {
"type": "string",
"description": "date and time the hold was last updated"
},
"itemnumber": {
"$ref": "../x-primitives.json#/itemnumber"
},
"waitingdate": {
"type": ["string", "null"],
"description": "the date the item was marked as waiting for the patron at the library"
},
"expirationdate": {
"type": ["string", "null"],
"description": "the date the hold expires"
},
"lowestPriority": {
"type": "boolean",
"description": ""
},
"suspend": {
"type": "boolean",
"description": ""
},
"suspend_until": {
"type": ["string", "null"],
"description": ""
},
"itemtype": {
"type": ["string", "null"],
"description": "If record level hold, the optional itemtype of the item the patron is requesting"
}
}
}