# Skemaer — Vendor API v0.6.5

152 skemaer
Kilde: https://plas.redia.dk/vendor/v0.6.5/schemas/

Hvert navngivet skema i specifikationen, ét niveau dybt. Et felt der peger på et andet skema linker til det i stedet for at blive foldet ud — specifikationen refererer sig selv i cyklusser, så en udfoldning ville ikke terminere.

## AdditionalIdentifier

`one of AdditionalIdentifierTypeISBN | AdditionalIdentifierTypeISSN | AdditionalIdentifierTypeEAN | AdditionalIdentifierTypeBibsentBibbi`

Ingen felter i specifikationen — se skema-indekset for formen.

## AdditionalIdentifierTypeBibsentBibbi

`object`

- `type` (`string enum`, påkrævet) — `bibsentBibbi`
- `value` (`string`, påkrævet)

## AdditionalIdentifierTypeEAN

`object`

- `digits` (`string enum`, påkrævet) — `13`
- `type` (`string enum`, påkrævet) — `ean`
- `value` (`string`, påkrævet)

## AdditionalIdentifierTypeISBN

`object`

- `digits` (`string enum`, påkrævet) — `10` · `13`
- `type` (`string enum`, påkrævet) — `isbn`
- `value` (`string`, påkrævet)

## AdditionalIdentifierTypeISSN

`object`

- `type` (`string enum`, påkrævet) — `issn`
- `value` (`string`, påkrævet)

## Agent

`one of AgentTypePerson | AgentTypeCollective`

Ingen felter i specifikationen — se skema-indekset for formen.

## AgentPersonActiveLiteral

`object`

Date or date range the person was active.
This is usually only recorded for historical persons where the birth and death dates are uncertain or unknown.
A literal value, meaning there are no expected structure or format.


- `type` (`string enum`, påkrævet) — `literal`
- `value` (`string`, påkrævet)

## AgentRole

`one of AgentRoleMarcRelator`

Telling the role of an agent, e.g. author, illustrator, editor.

Ingen felter i specifikationen — se skema-indekset for formen.

## AgentRoleMarcRelator

`object`

- `roleCode` (`string`, påkrævet) — A contribution role code from the MARC Code List for Relators.
- `type` (`string enum`, påkrævet) — `marcRelator` — Identifies the role code as being part of [MARC Code List for Relators](https://www.loc.gov/marc/relators/relaterm.html).

## AgentTypeCollective

`all of BaseAgent + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## AgentTypePerson

`all of BaseAgent + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## Amount

`integer`

The amount is in minor unit (see ISO 4217).

Ingen felter i specifikationen — se skema-indekset for formen.

## BaseAgent

`object`

- `description` (`string`, valgfri) — This is a description of the agent.
- `fullName` (`string`, påkrævet) — This is the full name of the agent.
- `id` (`string`, valgfri) — This isn't required, but if it's set:
- The agent is searchable through the GET /agent endpoint.
- Or you can search using the filter `plas.agent` to search on this agent.

- `images` ([`array of ImageAgent`](https://plas.redia.dk/vendor/v0.6.5/schemas/#ImageAgent), valgfri) — Images of the agent.

## BaseEventItem

`object`

- `eventId` (`string`, påkrævet) — A unique identifier for the event.
- `type` (`string`, påkrævet) — The type of event.

## BasicTitle

`object`

- `language` ([`Language`](https://plas.redia.dk/vendor/v0.6.5/schemas/#Language), valgfri) — The language of the titles in the object.
- `main` (`string`, påkrævet) — This is the main title.
- `part` (`object`, valgfri) — This contains the information to distinguish the work.
- `remainder` (`string`, valgfri) — This is the remainder of the title.

## Binding

`one of BindingTypeLiteral`

Ingen felter i specifikationen — se skema-indekset for formen.

## BindingTypeLiteral

`object`

A literal binding, meaning there are no expected structure or format.

- `type` (`string enum`, påkrævet) — `literal`
- `value` (`string`, påkrævet) — A displayable (human readable) representation of the binding.

## CheckinField

`object`

- `acquiredFrom` ([`PatronLoanAcquiredFrom`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PatronLoanAcquiredFrom), valgfri)
- `dueDate` (`string (date)`, valgfri) — This is the due date of the checkin item, meaning the date where item should (at the latest) be returned.
- `itemId` (`string`, påkrævet) — This is the item ID of the checked in item.
- `loanId` ([`LoanId`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanId), påkrævet)
- `patronId` (`string`, valgfri) — This is the patron ID of the patron that made the checkin.
- `publicationId` (`string`, valgfri) — This is the publication ID of the checkin item.
- `publicationMetadata` ([`PublicationFallback`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationFallback), valgfri)
- `sortingCode` (`string`, valgfri) — This is the sorting code, and can be used to sort checked in items, on e.g. a self service machine by reserved and not-reserved items.
- `transactionDateTime` (`string (date-time)`, påkrævet) — This is the registered time and date of the checkin.

## CheckinFieldWithRequiredPatronId

`all of CheckinField + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## CheckinResponseBody

`object`

- `checkin` ([`CheckinField`](https://plas.redia.dk/vendor/v0.6.5/schemas/#CheckinField), påkrævet)
- `completed` (`boolean`, valgfri) — This tells if the checkin was completed or not. It is only true if the checkin was completed, else it is false.
- `message` ([`CheckOutOrInMessage`](https://plas.redia.dk/vendor/v0.6.5/schemas/#CheckOutOrInMessage), valgfri)
- `requestId` (`string`, påkrævet) — This is a unique identifier for the checkout request. This will change for each request.
- `status` (`string enum`, påkrævet) — `completed` · `failed` — This tells the status of the checkin.

The status are:
- `completed` means that the checkin went well and was completed.
- `failed` means that the checkin failed, and the item was not checked in.


## CheckinWithRequiredPatronIdResponseBody

`all of CheckinResponseBody + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## CheckoutAcknowledgementType

`object`

- `type` (`string`, påkrævet) — This is the type of what is to be acknowledged.

## CheckoutAcknowledgementTypeFee

`all of CheckoutAcknowledgementType + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## CheckoutAcknowledgementTypePreviouslyCheckedOut

`all of CheckoutAcknowledgementType + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## CheckoutField

`object`

- `acquiredFrom` ([`PatronLoanAcquiredFrom`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PatronLoanAcquiredFrom), valgfri)
- `dueDate` (`string (date)`, påkrævet) — This is the due date of the checked out item.
- `itemId` (`string`, påkrævet) — This is the item ID of the checkout item.
- `loanId` ([`LoanId`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanId), påkrævet)
- `patronId` (`string`, påkrævet) — This is the patron ID of the patron that made the checkout.
- `publicationId` (`string`, valgfri) — This is the publication ID of the checkout item.
- `publicationMetadata` ([`PublicationFallback`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationFallback), valgfri)
- `renew` ([`LoanRenewInfo`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanRenewInfo), valgfri)
- `transactionDateTime` (`string (date-time)`, påkrævet) — This is the registered time and date of the checkout.

## CheckOutOrInLocationWithoutNames

`object`

The object tells the location where a checkout or checkin was made.  
The `sections` is for specifying the location more precisely.


- `branchId` (`string`, påkrævet) — The branch ID where the checkout or checkin was made.
- `sections` ([`array of LocationSectionElementWithIdNameAndType`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LocationSectionElementWithIdNameAndType), valgfri) — This is specifying the location more precisely.

## CheckOutOrInMessage

`object`

Both type and text are optional, but at least one of them must be set.

- `text` (`string`, valgfri) — Message to the patron.
- `type` (`string`, valgfri) — This can be used instead of the text field to identify the message type.  
This can be used by a vendor to handle the message or control the content of the message.


## CheckoutResponseBody

`object`

- `acknowledgement` (`object`, valgfri) — If this is set, the checkout needs to be acknowledged to be completed.
- `checkout` ([`CheckoutField`](https://plas.redia.dk/vendor/v0.6.5/schemas/#CheckoutField), påkrævet)
- `message` ([`CheckOutOrInMessage`](https://plas.redia.dk/vendor/v0.6.5/schemas/#CheckOutOrInMessage), valgfri)
- `requestId` (`string`, påkrævet) — This is an unique identifier for the checkout request. This will change for each request.
- `status` (`string enum`, påkrævet) — `completed` · `failed` — This tells the status of the checkout.

The status are:
- `completed` means that the checkout went well and was completed.
- `failed` means that the checkout failed, and the item was not checked out.


## Contributor

`object`

- `agent` ([`Agent`](https://plas.redia.dk/vendor/v0.6.5/schemas/#Agent), påkrævet)
- `roles` ([`array of AgentRole`](https://plas.redia.dk/vendor/v0.6.5/schemas/#AgentRole), valgfri) — List of roles (e.g. author, illustrator, editor) that the agent played in the creation of this entity.


## Date

`one of DateTypeLiteral | DateTypeRFC3339 | DateTypeYear | DateTypeYearRange | DateTypeCentury`

Ingen felter i specifikationen — se skema-indekset for formen.

## DateTypeCentury

`object`

The *century* date can be used if we only know which century an event happened.

- `beforeTheCommonEra` (`boolean`, valgfri) — The default value is *false*, meaning common era, otherwise before the common era.
- `century` (`integer`, påkrævet) — The century e.g. 19 century CE (meaning 1801 CE to 1900 CE), 3 century BCE (meaning 300 BCE to 201 BCE)
- `type` (`string enum`, påkrævet) — `century`

## DateTypeLiteral

`object`

A literal date, meaning there are no expected structure or format.

- `type` (`string enum`, påkrævet) — `literal`
- `value` (`string`, påkrævet)

## DateTypeRFC3339

`object`

The *rfc3339* date can be used if we now the date.

- `date` (`string (date)`, påkrævet) — RFC3339 _full-date_ format (YYYY-MM-DD).
- `type` (`string enum`, påkrævet) — `rfc3339`

## DateTypeYear

`object`

The *year* date can be used if we only know which year an event happened.

- `type` (`string enum`, påkrævet) — `year`
- `year` (`integer`, påkrævet) — Eg. 1924

## DateTypeYearRange

`object`

The *yearRange* date can be used if we only know approx when an event happened.
This can also be used give an open ended year range.
*from* and *to* isn't required, but a least one of them should be set.


- `from` (`integer`, valgfri) — Eg. 1924
- `to` (`integer`, valgfri) — Eg. 1979
- `type` (`string enum`, påkrævet) — `yearRange`

## Edition

`one of EditionTypeLiteral | EditionTypeNumbering`

Ingen felter i specifikationen — se skema-indekset for formen.

## EditionTypeLiteral

`object`

A literal edition, meaning there are no expected structure or format.

- `type` (`string enum`, påkrævet) — `literal`
- `value` (`string`, påkrævet) — A displayable (human readable) representation of the edition.

## EditionTypeNumbering

`object`

- `display` (`string`, valgfri) — A displayable (human readable) representation of the edition.
- `number` (`integer`, påkrævet) — The edition number.
- `printing` (`integer`, valgfri) — The printing number of the edition.
- `type` (`string enum`, påkrævet) — `numbering`

## Error

`object`

- `code` ([`ErrorCode`](https://plas.redia.dk/vendor/v0.6.5/schemas/#ErrorCode), påkrævet)
- `info` ([`ErrorInfo`](https://plas.redia.dk/vendor/v0.6.5/schemas/#ErrorInfo), påkrævet)

## ErrorCode

`integer enum`
`500` · `600`

A number representing the type of error.

List of error codes: 
- \<error code\>: \<error description\>  
- 500: System error
- 600: Unsupported Open Library API version</br>


Ingen felter i specifikationen — se skema-indekset for formen.

## ErrorInfo

`string`

Starts with the text matching the error code field (defined above), and a describing text could be added.

Ingen felter i specifikationen — se skema-indekset for formen.

## Errors

`object`

- `errors` ([`array of Error`](https://plas.redia.dk/vendor/v0.6.5/schemas/#Error), påkrævet) — The first error should always be the most relevant.

## EventConsentChanged

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventFeeDueDateIsApproaching

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventItemAddedToLoanHistory

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventItemCheckin

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventItemCheckout

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventItemPatronListCreated

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventItemPatronListDeleted

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventItemPatronListItemAddedToList

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventItemPatronListItemMovedOnList

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventItemPatronListItemRemovedFromList

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventItemPatronListUpdated

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventItemRemovedFromLoanHistory

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventLoanDueDateIsApproaching

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventPatronDeleted

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventReadyReservationExpiresSoon

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventReceiverRequest

`one of EventConsentChanged | EventPatronDeleted | EventReservationReadyForPickup | EventReadyReservationExpiresSoon | EventReservationExpiresSoon | EventReservationReminder | EventLoanDueDateIsApproaching | EventFeeDueDateIsApproaching | EventItemCheckout | EventItemCheckin`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventReservationExpiresSoon

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventReservationReadyForPickup

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## EventReservationReminder

`all of BaseEventItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## Extent

`one of ExtentTypeLiteral | ExtentTypePages | ExtentTypePlaytime | ExtentTypeUnits`

Ingen felter i specifikationen — se skema-indekset for formen.

## ExtentTypeLiteral

`object`

A literal extent, meaning there are no expected structure or format.

- `type` (`string enum`, påkrævet) — `literal`
- `value` (`string`, påkrævet) — A displayable (human readable) representation of the extent.

## ExtentTypePages

`object`

- `pages` (`integer`, påkrævet) — Number of physical pages.
- `type` (`string enum`, påkrævet) — `pages`

## ExtentTypePlaytime

`object`

- `playtime` (`integer`, påkrævet) — The total playtime in seconds.
- `type` (`string enum`, påkrævet) — `playtime`

## ExtentTypeUnits

`object`

- `type` (`string enum`, påkrævet) — `units`
- `unitType` (`string enum`, påkrævet) — `volume` · `dvd` · `cd` · `bluRay` · `cassette` · `lp`
- `units` (`integer`, påkrævet) — Number of physical units (volumes, dvd, cd, ...)

## FeeAmount

`integer`

The amount is in minor unit (see ISO 4217).

Ingen felter i specifikationen — se skema-indekset for formen.

## FeeCreatedTime

`string (date-time)`

The date and time the fee was created.

Ingen felter i specifikationen — se skema-indekset for formen.

## FeeCurrency

`string`

ISO 4217

Ingen felter i specifikationen — se skema-indekset for formen.

## FeeDueDate

`string (date)`

The due date of the fee.

Ingen felter i specifikationen — se skema-indekset for formen.

## FeeId

`string`

This is the fee ID.

Ingen felter i specifikationen — se skema-indekset for formen.

## FeeItem

`object`

Item information related to a fee.

- `acquiredFrom` ([`PatronLoanAcquiredFrom`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PatronLoanAcquiredFrom), valgfri)
- `itemId` (`string`, påkrævet) — The item identifier of the item that the fee is about.
- `publicationMetadata` ([`PublicationFallback`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationFallback), påkrævet)

## FeePayableState

`string enum`
`payable` · `not_payable`

This state tells if the fee can be paid and finalized through this API.  
- *payable*: The fee is payable, and can be finalized through this API.
- *not_payable*: The fee cannot be finalized through this API.


Ingen felter i specifikationen — se skema-indekset for formen.

## FeeRemainingAmount

`Amount`

The remaining amount is the amount that is still payable. If this is not equal to amount, part of the fee has been paid.

The amount is in minor unit (see ISO 4217).


Ingen felter i specifikationen — se skema-indekset for formen.

## FeeType

`string enum`
`fee` · `compensation` · `send_to_debt_collector`

Defines the type of fee being applied. All fees indicate that the patron should pay, never the other way around.

The possible values are:
- *fee*: Indicates a regular fee, typically for a late checked-in loan.
- *compensation*: Indicates a compensation fee, typically applied due to a damaged or lost item.
- *send_to_debt_collector*: Indicates that the fee has been sent to a debt collector because it was not paid in time.


Ingen felter i specifikationen — se skema-indekset for formen.

## GetVersionResponseBody

`object`

- `version` ([`Version`](https://plas.redia.dk/vendor/v0.6.5/schemas/#Version), påkrævet) — This is recommended (by the vendor) version of the Open Library API, that is supported by the vendor.

## ImageAgent

`one of ImageTypeAgent`

Ingen felter i specifikationen — se skema-indekset for formen.

## ImagePublication

`one of ImageTypeFrontCover | ImageTypeBackCover`

Ingen felter i specifikationen — se skema-indekset for formen.

## ImageTypeAgent

`all of ImageUrl + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## ImageTypeBackCover

`all of ImageUrl + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## ImageTypeFrontCover

`all of ImageUrl + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## ImageUrl

`object`

- `height` (`integer`, valgfri) — The image height in px.
- `mime` (`string enum`, valgfri) — `png` · `jpeg`
- `url` (`string`, påkrævet)
- `width` (`integer`, valgfri) — The image width in px.

## Language

`object`

- `code` (`string`, påkrævet) — A id that (if set) can be used with the filter `plas.language` to search on this genre.

Codes can be found at <https://www.loc.gov/marc/languages/>

- `name` (`string`, valgfri) — A displayable (human readable) value of the language.

## LoanCreatedTime

`string (date-time)`

The date and time the loan was made.

Ingen felter i specifikationen — se skema-indekset for formen.

## LoanDueDate

`string (date)`

The latest date on which the loan must be returned.

Ingen felter i specifikationen — se skema-indekset for formen.

## LoanId

`string`

This is the loan ID.

Ingen felter i specifikationen — se skema-indekset for formen.

## LoanItemId

`string`

This is the item identifier of the checkout item.

Ingen felter i specifikationen — se skema-indekset for formen.

## LoanPublicationId

`string`

This is the publication ID of the loan. If this is empty, the publication is unknown.

Ingen felter i specifikationen — se skema-indekset for formen.

## LoanRenewableState

`string enum`
`renewable` · `not_renewable` · `renewable_later` · `unknown`

This tells the renewable state of the loan.

Ingen felter i specifikationen — se skema-indekset for formen.

## LoanRenewInfo

`object`

This contain information about renewal of the loan.

- `count` (`integer`, valgfri) — The number of times this loan can still be renewed. If the field is missing, this information is unknown.
- `lastDate` (`string (date)`, valgfri) — The date when the loan was last renewed. If the field is missing, this information is unknown.
- `state` ([`LoanRenewableState`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanRenewableState), påkrævet)

## LocationSectionElementType

`string`

This should be the section type of the section (element) ID.

Ingen felter i specifikationen — se skema-indekset for formen.

## LocationSectionElementWithId

`object`

- `id` (`string`, påkrævet) — This is the section (element) ID

## LocationSectionElementWithIdAndName

`all of LocationSectionElementWithId + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## LocationSectionElementWithIdNameAndType

`all of LocationSectionElementWithIdAndName + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## MediaType

`object`

- `code` ([`MediaTypeType`](https://plas.redia.dk/vendor/v0.6.5/schemas/#MediaTypeType), valgfri)
- `name` (`string`, påkrævet) — A displayable (human readable) representation of the media type.

## MediaTypeEnum

`string enum`
`book` · `eBook` · `audiobook`

Ingen felter i specifikationen — se skema-indekset for formen.

## MediaTypeLiteral

`string`

Ingen felter i specifikationen — se skema-indekset for formen.

## MediaTypeType

`any of MediaTypeEnum | MediaTypeLiteral`

A code that (if set) can be used with the filter `plas.mediaTypes` to search on this media type.

Ingen felter i specifikationen — se skema-indekset for formen.

## PatronConsent

`object`

- `available` (`array of object`, påkrævet) — The array must only contain one consent of each type.
- `evaluated` ([`PatronEvaluatedConsents`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PatronEvaluatedConsents), påkrævet)

## PatronConsentType

`string enum`
`loan_history`

Ingen felter i specifikationen — se skema-indekset for formen.

## PatronEvaluatedConsent

`object`

- `given` (`boolean`, påkrævet)
- `type` ([`PatronConsentType`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PatronConsentType), påkrævet)
- `version` (`string`, påkrævet) — The version of the consent that the patron has made a choice for or against.

## PatronEvaluatedConsents

`array of PatronEvaluatedConsent`

The array must only contain one consent of each type.

Ingen felter i specifikationen — se skema-indekset for formen.

## PatronFee

`object`

- `amount` ([`FeeAmount`](https://plas.redia.dk/vendor/v0.6.5/schemas/#FeeAmount), påkrævet)
- `createdTime` ([`FeeCreatedTime`](https://plas.redia.dk/vendor/v0.6.5/schemas/#FeeCreatedTime), påkrævet)
- `currency` ([`FeeCurrency`](https://plas.redia.dk/vendor/v0.6.5/schemas/#FeeCurrency), påkrævet)
- `dueDate` ([`FeeDueDate`](https://plas.redia.dk/vendor/v0.6.5/schemas/#FeeDueDate), valgfri)
- `id` ([`FeeId`](https://plas.redia.dk/vendor/v0.6.5/schemas/#FeeId), påkrævet)
- `items` ([`array of FeeItem`](https://plas.redia.dk/vendor/v0.6.5/schemas/#FeeItem), valgfri) — The items this fee covers, if they are known.
- `payableState` ([`FeePayableState`](https://plas.redia.dk/vendor/v0.6.5/schemas/#FeePayableState), påkrævet)
- `remainingAmount` ([`FeeRemainingAmount`](https://plas.redia.dk/vendor/v0.6.5/schemas/#FeeRemainingAmount), valgfri)
- `type` ([`FeeType`](https://plas.redia.dk/vendor/v0.6.5/schemas/#FeeType), påkrævet)

## PatronList

`object`

- `id` (`string`, påkrævet) — The ID of the list.
- `name` (`string`, påkrævet) — The name of the list.

## PatronListBaseItem

`object`

- `id` (`string`, påkrævet) — The unique ID of the item in the list.

## PatronListItem

`one of PatronListItemWorkAndPublication`

Ingen felter i specifikationen — se skema-indekset for formen.

## PatronListItemWorkAndPublication

`all of PatronListBaseItem + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## PatronLoan

`object`

- `acquiredFrom` ([`PatronLoanAcquiredFrom`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PatronLoanAcquiredFrom), valgfri)
- `createdTime` ([`LoanCreatedTime`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanCreatedTime), påkrævet)
- `dueDate` ([`LoanDueDate`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanDueDate), påkrævet)
- `id` ([`LoanId`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanId), påkrævet)
- `itemId` ([`LoanItemId`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanItemId), påkrævet)
- `location` ([`CheckOutOrInLocationWithoutNames`](https://plas.redia.dk/vendor/v0.6.5/schemas/#CheckOutOrInLocationWithoutNames), valgfri)
- `publicationId` ([`LoanPublicationId`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanPublicationId), påkrævet)
- `publicationMetadata` ([`PublicationFallback`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationFallback), valgfri)
- `renew` ([`LoanRenewInfo`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanRenewInfo), påkrævet)

## PatronLoanAcquiredFrom

`one of PatronLoanAcquiredFromTypeLocalCirculation | PatronLoanAcquiredFromTypeInterlibraryLoan | PatronLoanAcquiredFromTypeUnknown`

This tells from where (the material for) this loan was acquired.  
If this field are missing, the default value **local_circulation** should be assumed. 
* **local_circulation**: Meaning that this loan was acquired from the customers own inventory.
* **interlibrary_loan**: Meaning that this loan was acquired as a interlibrary loan.
* **unknown**: Meaning that this information is unknown.


Ingen felter i specifikationen — se skema-indekset for formen.

## PatronLoanAcquiredFromTypeInterlibraryLoan

`object`

- `type` (`string enum`, påkrævet) — `interlibrary_loan`

## PatronLoanAcquiredFromTypeLocalCirculation

`object`

- `type` (`string enum`, påkrævet) — `local_circulation`

## PatronLoanAcquiredFromTypeUnknown

`object`

- `type` (`string enum`, påkrævet) — `unknown`

## PatronLoanHistory

`object`

- `acquiredFrom` ([`PatronLoanAcquiredFrom`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PatronLoanAcquiredFrom), valgfri)
- `addedToHistoryTime` (`string (date-time)`, påkrævet) — The date and time when the loan was added to the patron loan history.
- `checkinTime` (`string (date-time)`, valgfri) — The date and time the loan was checkin.
- `checkoutTime` ([`LoanCreatedTime`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanCreatedTime), valgfri)
- `dueDate` (`string (date)`, valgfri) — The due date of the loan at the time of checkin.
- `id` (`string`, påkrævet) — This is the loan history ID (not the loan ID).
- `itemId` ([`LoanItemId`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanItemId), valgfri)
- `loanId` ([`LoanId`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanId), valgfri)
- `manuallyAdded` (`boolean`, påkrævet) — Was the loan added manually by the patron.
- `publicationId` ([`LoanPublicationId`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LoanPublicationId), påkrævet)
- `publicationMetadata` ([`PublicationFallback`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationFallback), valgfri)

## PatronReservation

`object`

- `createdTime` ([`ReservationCreatedTime`](https://plas.redia.dk/vendor/v0.6.5/schemas/#ReservationCreatedTime), påkrævet)
- `expirationDate` ([`ReservationExpirationDate`](https://plas.redia.dk/vendor/v0.6.5/schemas/#ReservationExpirationDate), valgfri)
- `fulfillmentBy` ([`PatronReservationFulfillmentBy`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PatronReservationFulfillmentBy), valgfri)
- `id` ([`ReservationId`](https://plas.redia.dk/vendor/v0.6.5/schemas/#ReservationId), påkrævet)
- `itemId` ([`ReservationItemId`](https://plas.redia.dk/vendor/v0.6.5/schemas/#ReservationItemId), valgfri)
- `pickup` (`object`, påkrævet)
- `publicationId` ([`ReservationPublicationId`](https://plas.redia.dk/vendor/v0.6.5/schemas/#ReservationPublicationId), påkrævet)
- `publicationMetadata` ([`PublicationFallback`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationFallback), valgfri)
- `queueNumber` ([`ReservationQueueNumber`](https://plas.redia.dk/vendor/v0.6.5/schemas/#ReservationQueueNumber), valgfri)
- `state` ([`ReservationState`](https://plas.redia.dk/vendor/v0.6.5/schemas/#ReservationState), påkrævet)

## PatronReservationFulfillmentBy

`one of PatronReservationFulfillmentByTypeLocalCirculation | PatronReservationFulfillmentByTypeInterlibraryLoan | PatronReservationFulfillmentByTypePurchase | PatronReservationFulfillmentByTypeUnknown`

This tells from where the material that are expected to fulfill this reservation will be acquired from.
If this field are missing, the default value **local_circulation** should be assumed. 
* **local_circulation**: (default) Meaning that this reservation will be fulfilling from the customers own inventory.
* **interlibrary_loan**: Meaning that this reservation will be fulfilled as a interlibrary loan.
* **purchase**: Meaning that reservation can not be fulfilled right away, but a request to purchase the material has been submitted.
* **unknown**: Meaning that this information is unknown.


Ingen felter i specifikationen — se skema-indekset for formen.

## PatronReservationFulfillmentByTypeInterlibraryLoan

`object`

- `type` (`string enum`, påkrævet) — `interlibrary_loan`

## PatronReservationFulfillmentByTypeLocalCirculation

`object`

- `type` (`string enum`, påkrævet) — `local_circulation`

## PatronReservationFulfillmentByTypePurchase

`object`

- `type` (`string enum`, påkrævet) — `purchase`

## PatronReservationFulfillmentByTypeUnknown

`object`

- `type` (`string enum`, påkrævet) — `unknown`

## PickupLocation

`object`

The object tells a location where a reservation item can be picked up.
The `sections` is for specifying the location more precisely.

The branch name and section names are included in the response to make it easier to display the location. They are the same values as from the /locations endpoint.


- `branchId` (`string`, påkrævet) — The branch ID where a reservation should be picked up.
- `branchName` (`string`, påkrævet) — This is the name of the branch.
- `sections` ([`array of LocationSectionElementWithIdNameAndType`](https://plas.redia.dk/vendor/v0.6.5/schemas/#LocationSectionElementWithIdNameAndType), valgfri) — This are specifying the location more precisely.

## Publication

`object`

- `additionalIdentifiers` ([`PublicationAdditionalIdentifiers`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationAdditionalIdentifiers), valgfri)
- `binding` ([`Binding`](https://plas.redia.dk/vendor/v0.6.5/schemas/#Binding), valgfri)
- `contributors` ([`PublicationContributors`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationContributors), valgfri)
- `creators` ([`PublicationCreators`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationCreators), valgfri)
- `edition` ([`Edition`](https://plas.redia.dk/vendor/v0.6.5/schemas/#Edition), valgfri)
- `extent` ([`PublicationExtent`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationExtent), valgfri)
- `identifier` ([`PublicationIdentifier`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationIdentifier), påkrævet)
- `images` ([`PublicationImages`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationImages), valgfri)
- `language` ([`PublicationLanguage`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationLanguage), valgfri)
- `mediaTypes` ([`PublicationMediaTypes`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationMediaTypes), valgfri)
- `publicationDate` ([`Date`](https://plas.redia.dk/vendor/v0.6.5/schemas/#Date), valgfri) — Date of publication.
- `publishers` ([`array of PublisherAndPlaces`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublisherAndPlaces), valgfri) — List of publishers and associated place(s) of publication.
- `titles` ([`PublicationTitles`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationTitles), påkrævet)
- `works` ([`array of PublicationWork`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationWork), påkrævet)

## PublicationAdditionalIdentifiers

`array of AdditionalIdentifier`

Other identifiers, like: ISBN, ISSN, ...


Ingen felter i specifikationen — se skema-indekset for formen.

## PublicationContributors

`array of Contributor`

The contributor(s) to the publication.

Ingen felter i specifikationen — se skema-indekset for formen.

## PublicationCreators

`array of Contributor`

The creator(s) of the publication.

Ingen felter i specifikationen — se skema-indekset for formen.

## PublicationExtent

`array of Extent`

Together all the Extents in the array describes the total extent of the publication.

Ingen felter i specifikationen — se skema-indekset for formen.

## PublicationFallback

`Publication`

This metadata is only intended as fallback data, for when the provider is not able to serve the metadata through the GET /publication endpoint. 

This can for some provider be the case when working with e.g. interlibrary loans.


Ingen felter i specifikationen — se skema-indekset for formen.

## PublicationIdentifier

`string`

Publication identifier. This is searchable through the GET /publication endpoint.

Ingen felter i specifikationen — se skema-indekset for formen.

## PublicationImages

`array of ImagePublication`

Images to use with the publication.

Ingen felter i specifikationen — se skema-indekset for formen.

## PublicationLanguage

`array of Language`

This is the language(s) of the this publication. If the publication uses multi languages this will also contain them.

Ingen felter i specifikationen — se skema-indekset for formen.

## PublicationMediaTypes

`array of MediaType`

Ingen felter i specifikationen — se skema-indekset for formen.

## PublicationTitles

`array of Title`

Title of the publication.

Ingen felter i specifikationen — se skema-indekset for formen.

## PublicationWork

`object`

- `identifier` ([`PublicationWorkIdentifier`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationWorkIdentifier), påkrævet)
- `relation` ([`PublicationWorkRelation`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublicationWorkRelation), valgfri)

## PublicationWorkIdentifier

`string`

Work identifier of this publication. This is searchable through the GET /work endpoint.

Ingen felter i specifikationen — se skema-indekset for formen.

## PublicationWorkRelation

`string enum`
`contains` · `embodies`

Describes the publications relation to a work.  
- contains: The publication contains this work, meaning the work is part of the publication.  
- embodies: The publication embodies this work, meaning the publication is the entire work.


Ingen felter i specifikationen — se skema-indekset for formen.

## Publisher

`object`

- `id` (`string`, valgfri) — The unique identifier of the publisher. It can be used to search for the other entries by the publisher
- `name` (`string`, påkrævet) — The publisher's name.

## PublisherAndPlaces

`object`

- `places` ([`array of PublisherPlace`](https://plas.redia.dk/vendor/v0.6.5/schemas/#PublisherPlace), valgfri) — Place of publication. Usually one place, but can be multiple.
- `publisher` ([`Publisher`](https://plas.redia.dk/vendor/v0.6.5/schemas/#Publisher), påkrævet)

## PublisherPlace

`object`

- `place` (`string`, påkrævet)

## ReservationCreatedTime

`string (date-time)`

The date and time the reservation was created.

Ingen felter i specifikationen — se skema-indekset for formen.

## ReservationExpirationDate

`string (date)`

The date when the reservation expires. If this is missing, the value is unknown.

Ingen felter i specifikationen — se skema-indekset for formen.

## ReservationId

`string`

This is the reservation ID.

Ingen felter i specifikationen — se skema-indekset for formen.

## ReservationItemId

`string`

This is the item identifier that actually fulfills the reservation. This can often only be set when the reservation is ready for pickup. If the reservation is on item level, it can be set earlier.

Ingen felter i specifikationen — se skema-indekset for formen.

## ReservationPickupExpirationDate

`string (date)`

The date for the last chance to pick up the reservation. If this is missing, the value is unknown.

Ingen felter i specifikationen — se skema-indekset for formen.

## ReservationPickupNote

`string`

This is the note that is used to tell the patron where to get the reservation.  
E.g. 
- a shelf number, e.g. "Shelf 9".
- an instruction, e.g. "Front desk"
- an identifier, e.g. "10/114"


Ingen felter i specifikationen — se skema-indekset for formen.

## ReservationPublicationId

`string`

This is the publication ID of the reservation. If this is empty, the publication is unknown.

Ingen felter i specifikationen — se skema-indekset for formen.

## ReservationQueueNumber

`integer`

The queue number tells what number in the queue the patron is. If this is missing, it represents that the queue number is unknown.

Ingen felter i specifikationen — se skema-indekset for formen.

## ReservationState

`string enum`
`ready_for_pickup` · `in_queue` · `postponed`

This represents where in the acquiring process this reservation is.

Ingen felter i specifikationen — se skema-indekset for formen.

## Title

`one of TitleTypePreferred | TitleTypeVariant | TitleTypeParallel | TitleTypeOriginal`

Ingen felter i specifikationen — se skema-indekset for formen.

## TitleTypeOriginal

`all of BasicTitle + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## TitleTypeParallel

`all of BasicTitle + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## TitleTypePreferred

`all of BasicTitle + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## TitleTypeVariant

`all of BasicTitle + object`

Ingen felter i specifikationen — se skema-indekset for formen.

## Version

`string`

Open Library API version.

Ingen felter i specifikationen — se skema-indekset for formen.
