# Skemaer — Vendor API v0.6.3

152 skemaer
Kilde: https://plasapi.com/da/vendor/v0.6.3/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, så hvert skema er beskrevet ét sted.

## 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`

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

## AdditionalIdentifierTypeISBN

`object`

- `type` (`string enum`, påkrævet) — `isbn`
- `digits` (`string enum`, påkrævet) — `10` · `13`
- `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`

- `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).
- `roleCode` (`string`, påkrævet) — A contribution role code from the MARC Code List for Relators.

## 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`

- `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.

- `fullName` (`string`, påkrævet) — This is the full name of the agent.
- `description` (`string`, valgfri) — This is a description of the agent.
- `images` ([`array of ImageAgent`](https://plasapi.com/da/vendor/v0.6.3/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`

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

## 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`

- `transactionDateTime` (`string (date-time)`, påkrævet) — This is the registered time and date of the checkin.
- `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.
- `patronId` (`string`, valgfri) — This is the patron ID of the patron that made the checkin.
- `loanId` ([`LoanId`](https://plasapi.com/da/vendor/v0.6.3/schemas/#LoanId), påkrævet)
- `publicationId` (`string`, valgfri) — This is the publication ID of the checkin item.
- `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.
- `acquiredFrom` ([`PatronLoanAcquiredFrom`](https://plasapi.com/da/vendor/v0.6.3/schemas/#PatronLoanAcquiredFrom), valgfri)
- `publicationMetadata` ([`PublicationFallback`](https://plasapi.com/da/vendor/v0.6.3/schemas/#PublicationFallback), valgfri)

## CheckinFieldWithRequiredPatronId

`all of CheckinField + object`

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

## CheckinResponseBody

`object`

- `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.

- `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.
- `checkin` ([`CheckinField`](https://plasapi.com/da/vendor/v0.6.3/schemas/#CheckinField), påkrævet)
- `message` ([`CheckOutOrInMessage`](https://plasapi.com/da/vendor/v0.6.3/schemas/#CheckOutOrInMessage), valgfri)
- `requestId` (`string`, påkrævet) — This is a unique identifier for the checkout request. This will change for each request.

## 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`

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

## 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://plasapi.com/da/vendor/v0.6.3/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.

- `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.

- `text` (`string`, valgfri) — Message to the patron.

## CheckoutResponseBody

`object`

- `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.

- `acknowledgement` (`object`, valgfri) — If this is set, the checkout needs to be acknowledged to be completed.
- `checkout` ([`CheckoutField`](https://plasapi.com/da/vendor/v0.6.3/schemas/#CheckoutField), påkrævet)
- `message` ([`CheckOutOrInMessage`](https://plasapi.com/da/vendor/v0.6.3/schemas/#CheckOutOrInMessage), valgfri)
- `requestId` (`string`, påkrævet) — This is an unique identifier for the checkout request. This will change for each request.

## Contributor

`object`

- `agent` ([`Agent`](https://plasapi.com/da/vendor/v0.6.3/schemas/#Agent), påkrævet)
- `roles` ([`array of AgentRole`](https://plasapi.com/da/vendor/v0.6.3/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.

- `type` (`string enum`, påkrævet) — `century`
- `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)

## 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.

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

## 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.


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

## 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`

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

## Error

`object`

- `code` ([`ErrorCode`](https://plasapi.com/da/vendor/v0.6.3/schemas/#ErrorCode), påkrævet)
- `info` ([`ErrorInfo`](https://plasapi.com/da/vendor/v0.6.3/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://plasapi.com/da/vendor/v0.6.3/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`

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

## ExtentTypePlaytime

`object`

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

## 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.

- `itemId` (`string`, påkrævet) — The item identifier of the item that the fee is about.
- `acquiredFrom` ([`PatronLoanAcquiredFrom`](https://plasapi.com/da/vendor/v0.6.3/schemas/#PatronLoanAcquiredFrom), valgfri)
- `publicationMetadata` ([`PublicationFallback`](https://plasapi.com/da/vendor/v0.6.3/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://plasapi.com/da/vendor/v0.6.3/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`

- `url` (`string`, påkrævet)
- `mime` (`string enum`, valgfri) — `png` · `jpeg`
- `width` (`integer`, valgfri) — The image width in px.
- `height` (`integer`, valgfri) — The image height 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.

- `state` ([`LoanRenewableState`](https://plasapi.com/da/vendor/v0.6.3/schemas/#LoanRenewableState), påkrævet)
- `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.

## 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://plasapi.com/da/vendor/v0.6.3/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://plasapi.com/da/vendor/v0.6.3/schemas/#PatronEvaluatedConsents), påkrævet)

## PatronConsentType

`string enum`
`loan_history`

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

## PatronEvaluatedConsent

`object`

- `type` ([`PatronConsentType`](https://plasapi.com/da/vendor/v0.6.3/schemas/#PatronConsentType), påkrævet)
- `given` (`boolean`, 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`

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

## 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`

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

## 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`

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

## PatronReservation

`object`

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

## 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://plasapi.com/da/vendor/v0.6.3/schemas/#LocationSectionElementWithIdNameAndType), valgfri) — This are specifying the location more precisely.

## Publication

`object`

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

## 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://plasapi.com/da/vendor/v0.6.3/schemas/#PublicationWorkIdentifier), påkrævet)
- `relation` ([`PublicationWorkRelation`](https://plasapi.com/da/vendor/v0.6.3/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`

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

## 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.
