# Skjemaer — Provider API v0.6.5

379 skjemaer
Kilde: https://plas.redia.dk/no/provider/v0.6.5/schemas/

Hvert navngitt skjema i spesifikasjonen, ett nivå dypt. Et felt som peker på et annet skjema, lenker til det i stedet for å bli foldet ut — spesifikasjonen refererer seg selv i sykluser, så en utfolding ville ikke terminere.

## AddItemToPatronListRequestBody

`PatronListItem`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## AdditionalIdentifier

`one of AdditionalIdentifierTypeISBN | AdditionalIdentifierTypeISSN | AdditionalIdentifierTypeEAN | AdditionalIdentifierTypeBibsentBibbi`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## AdditionalIdentifierTypeBibsentBibbi

`object`

- `type` (`string enum`, påkrevd) — `bibsentBibbi`
- `value` (`string`, påkrevd)

## AdditionalIdentifierTypeEAN

`object`

- `digits` (`string enum`, påkrevd) — `13`
- `type` (`string enum`, påkrevd) — `ean`
- `value` (`string`, påkrevd)

## AdditionalIdentifierTypeISBN

`object`

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

## AdditionalIdentifierTypeISSN

`object`

- `type` (`string enum`, påkrevd) — `issn`
- `value` (`string`, påkrevd)

## AddLoanToPatronLoanHistoryRequestBody

`object`

- `acquiredFrom` ([`PatronLoanAcquiredFrom`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronLoanAcquiredFrom), valgfri)
- `checkinTime` (`string (date-time)`, valgfri) — The date and time the loan was checkin.
- `checkoutTime` ([`LoanCreatedTime`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LoanCreatedTime), valgfri)
- `dueDate` (`string (date)`, valgfri) — The due date of the loan at the time of checkin.
- `itemId` ([`LoanItemId`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LoanItemId), valgfri)
- `loanId` ([`LoanId`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LoanId), valgfri)
- `manuallyAdded` (`boolean`, påkrevd) — Was the loan added manually by the patron.
- `publicationId` ([`LoanPublicationId`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LoanPublicationId), påkrevd)
- `publicationMetadata` ([`PublicationFallback`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PublicationFallback), valgfri)

## Address

`object`

- `city` (`string`, påkrevd) — This field refers to the city, town, or locality where the address is located.
- `country` (`string`, valgfri) — This field specifies the name of the country where the address is located.
- `postalCode` (`string`, valgfri) — This field represents the numeric or alphanumeric code assigned to a specific area for efficient mail sorting and delivery.
- `street` (`string`, påkrevd) — This field represents the name of the road, street, or thoroughfare where the address is located.  
The field should also contain the building number assigned to a building at the location, and
the field should also contain identifiers such as apartment numbers, suite numbers, or floor numbers.


## Agent

`one of AgentTypePerson | AgentTypeCollective`

Ingen felter i spesifikasjonen — se skjemaindeksen 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åkrevd) — `literal`
- `value` (`string`, påkrevd)

## AgentRole

`one of AgentRoleMarcRelator`

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

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## AgentRoleMarcRelator

`object`

- `roleCode` (`string`, påkrevd) — A contribution role code from the MARC Code List for Relators.
- `type` (`string enum`, påkrevd) — `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 spesifikasjonen — se skjemaindeksen for formen.

## AgentTypePerson

`all of BaseAgent + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## AllDayScheduling

`object`

All-day event scheduling information

- `endDate` (`string (date)`, påkrevd) — End date in RFC3339 _full-date_ format.
- `startDate` (`string (date)`, påkrevd) — Start date in RFC3339 _full-date_ format.
- `type` (`string enum`, påkrevd) — `all_day` — Type of scheduling for all-day events

## Amount

`integer`

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

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## Audience

`one of AudienceTypeLiteral | AudienceTypeAgeRange | AudienceTypeAgeGroup`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## AudienceTypeAgeGroup

`object`

- `code` ([`AudienceTypeAgeGroupCode`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#AudienceTypeAgeGroupCode), påkrevd)
- `name` (`string`, valgfri) — A displayable (human readable) audience group name.
- `type` (`string enum`, påkrevd) — `ageGroup`

## AudienceTypeAgeGroupCode

`any of AudienceTypeAgeGroupCodeEnum | AudienceTypeAgeGroupCodeLiteral`

A code that (if set) can be used with the filter `plas.audience.ageGroup` to search on this age group.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## AudienceTypeAgeGroupCodeEnum

`string enum`
`child` · `youngAdult` · `adult`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## AudienceTypeAgeGroupCodeLiteral

`string`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## AudienceTypeAgeRange

`object`

*from* and *to* isn't required, but a least one of them should be set.


- `code` (`string`, valgfri) — A code that (if set) can be used with the filter `plas.audience.ageRange` to search on this age range.  
The formatting is "from:to", "form:*" or "*:to" (replace the `form` and `to` value)

- `from` (`integer`, valgfri)
- `to` (`integer`, valgfri)
- `type` (`string enum`, påkrevd) — `ageRange`

## AudienceTypeLiteral

`object`

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

- `code` (`string`, valgfri) — A code that (if set) can be used with the filter `plas.audience.literal` to search on this audience literal.
- `type` (`string enum`, påkrevd) — `literal`
- `value` (`string`, påkrevd) — A displayable (human readable) audience literal.

## AuthenticationClientAccessToken

`string`

The access token string, as issued by the authorization server.
It is strongly recommended that this token be a JWT so that it can be validated by a business partner, if e.g. the search API is delegated.


Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## AuthenticationClientCredentialsRequestBody

`all of OAuthClientIdAndSecret + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## AuthenticationClientExpiresIn

`integer`

The duration (in seconds) of time the access token is granted for.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## AuthenticationClientResponseBody

`object`

- `access_token` ([`AuthenticationClientAccessToken`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#AuthenticationClientAccessToken), påkrevd)
- `expires_in` ([`AuthenticationClientExpiresIn`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#AuthenticationClientExpiresIn), påkrevd)
- `token_type` ([`AuthenticationClientTokenType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#AuthenticationClientTokenType), påkrevd)

## AuthenticationClientTokenType

`string enum`
`Bearer`

The type of the token.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## BaseAgent

`object`

- `description` (`string`, valgfri) — This is a description of the agent.
- `fullName` (`string`, påkrevd) — 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/no/provider/v0.6.5/schemas/#ImageAgent), valgfri) — Images of the agent.

## BaseSuggestionAgent

`object`

- `fullName` (`string`, påkrevd) — 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.
- `images` ([`array of ImageAgent`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ImageAgent), valgfri) — Images of the agent.

## BasicTitle

`object`

- `language` ([`Language`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Language), valgfri) — The language of the titles in the object.
- `main` (`string`, påkrevd) — 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 spesifikasjonen — se skjemaindeksen for formen.

## BindingTypeLiteral

`object`

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

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

## CheckinField

`object`

- `acquiredFrom` ([`PatronLoanAcquiredFrom`](https://plas.redia.dk/no/provider/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åkrevd) — This is the item ID of the checked in item.
- `loanId` ([`LoanId`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LoanId), påkrevd)
- `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/no/provider/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åkrevd) — This is the registered time and date of the checkin.

## CheckinRequestBody

`object`

- `checkin` (`object`, påkrevd)

## CheckinResponseBody

`object`

- `checkin` ([`CheckinField`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#CheckinField), påkrevd)
- `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/no/provider/v0.6.5/schemas/#CheckOutOrInMessage), valgfri)
- `requestId` (`string`, påkrevd) — This is a unique identifier for the checkout request. This will change for each request.
- `status` (`string enum`, påkrevd) — `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.


## CheckoutAcknowledgementType

`object`

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

## CheckoutAcknowledgementTypeFee

`all of CheckoutAcknowledgementType + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## CheckoutAcknowledgementTypePreviouslyCheckedOut

`all of CheckoutAcknowledgementType + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## CheckoutField

`object`

- `acquiredFrom` ([`PatronLoanAcquiredFrom`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronLoanAcquiredFrom), valgfri)
- `dueDate` (`string (date)`, påkrevd) — This is the due date of the checked out item.
- `itemId` (`string`, påkrevd) — This is the item ID of the checkout item.
- `loanId` ([`LoanId`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LoanId), påkrevd)
- `patronId` (`string`, påkrevd) — 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/no/provider/v0.6.5/schemas/#PublicationFallback), valgfri)
- `renew` ([`LoanRenewInfo`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LoanRenewInfo), valgfri)
- `transactionDateTime` (`string (date-time)`, påkrevd) — 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åkrevd) — The branch ID where the checkout or checkin was made.
- `sections` ([`array of LocationSectionElementWithIdNameAndType`](https://plas.redia.dk/no/provider/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.


## CheckoutRequestBody

`object`

- `acknowledgement` (`object`, valgfri) — This is used to acknowledge the checkout.
- `checkout` (`object`, påkrevd)

## CheckoutResponseBody

`object`

- `acknowledgement` (`object`, valgfri) — If this is set, the checkout needs to be acknowledged to be completed.
- `checkout` ([`CheckoutField`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#CheckoutField), påkrevd)
- `message` ([`CheckOutOrInMessage`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#CheckOutOrInMessage), valgfri)
- `requestId` (`string`, påkrevd) — This is an unique identifier for the checkout request. This will change for each request.
- `status` (`string enum`, påkrevd) — `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.


## Classification

`one of ClassificationTypeDewey | ClassificationTypeDK5`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ClassificationTypeDewey

`object`

- `name` (`string`, valgfri) — A displayable (human readable) value representation of the dewey number.
- `number` (`string`, påkrevd) — The value of the dewey number.
- `type` (`string enum`, påkrevd) — `dewey`

## ClassificationTypeDK5

`object`

- `name` (`string`, valgfri) — A displayable (human readable) value representation of the dewey number.
- `number` (`string`, påkrevd) — The value of the dk5 number.
- `type` (`string enum`, påkrevd) — `dk5`

## ConfigurationContentApi

`object`

- `delegated` (`object`, valgfri)

## ConfigurationContentResponseBody

`object`

- `uiLanguages` (`object`, valgfri) — This contains the ui language settings.

All ui language codes should be on this list https://www.loc.gov/marc/languages/


## ConfigurationContentWithApi

`all of object + ConfigurationContentResponseBody`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ConfigurationHolding

`object`

- `periodical` ([`ConfigurationHoldingPeriodical`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationHoldingPeriodical), valgfri)

## ConfigurationHoldingPeriodical

`object`

- `groupOrdering` ([`array of HoldingPeriodicalGroupType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#HoldingPeriodicalGroupType), valgfri) — The default ordering of periodical group types is `year`, `volume` and `number`, or `level1`, ..., `level7`.
It is strongly discouraged to ever mix the named types and the level* types, but if for some reason another group type order is needed, `groupOrdering` can be used to tell the vendor the ordering of periodicals.


## ConfigurationPatron

`object`

- `fields` ([`array of ConfigurationPatronField`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationPatronField), valgfri) — This contributes with further information about some of the patron fields, like if
they are updatable or not, how they are constructed and their limitations.

The array should at most contain one element of each type.

- `identifierTypes` (`array of object`, valgfri) — This is an array of the patron identifier types that the vendor supports.  
If this is missing, only the empty identifier type is supported.  
The empty identifier type is when no identifier type is specified, and it is assumed to be unknown.

- `identityProviders` (`array of object`, valgfri)
- `loanHistory` (`object`, valgfri)
- `login` (`object`, valgfri)
- `registration` (`object`, valgfri)

## ConfigurationPatronField

`one of ConfigurationPatronFieldEmails | ConfigurationPatronFieldPhoneNumbers | ConfigurationPatronFieldPickupLocation`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ConfigurationPatronFieldEmails

`object`

- `field` (`string enum`, påkrevd) — `emails`
- `maxNumberOfEmailAddresses` (`integer`, valgfri) — This tells the maximum number of email addresses that a patron can have, and hence this is also the maximum
numbers of email addresses there can be send in a update patron information request. 

If this value is missing, there is no limits on the number of emails addresses, this is not recommended.

- `verification` (`string enum`, valgfri) — `no_verification` · `verify_by_email` — - no_verification => No verification
- verify_by_email => An email will be sent by the provider to verify the email


## ConfigurationPatronFieldPhoneNumbers

`object`

- `field` (`string enum`, påkrevd) — `phoneNumbers`
- `landline` (`object`, valgfri)
- `mobile` (`object`, valgfri)

## ConfigurationPatronFieldPickupLocation

`object`

- `field` (`string enum`, påkrevd) — `pickupLocation`
- `form` (`string enum`, valgfri) — `branch_id_and_sections` · `only_branch_id` — This is the form of the pickup location, i.e. which parts/fields of the pickup location that are in use.

If this is missing 'branch_id_and_sections' is this default.


## ConfigurationPatronIdentifierType

`string enum`
`norway_birth_number` · `denmark_cpr`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ConfigurationPatronIdentityProviderType

`string enum`
`norway_min_id` · `norway_id_portal` · `denmark_mit_id`

The identity provider type, found in GET /configuration.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ConfigurationPayment

`object`

- `initialize` (`object`, valgfri)
- `methods` ([`array of ConfigurationPaymentMethod`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationPaymentMethod), valgfri) — This is a list of the payment methods that the vendor supports.

If this is missing, there are no payment methods available.

- `partial` (`boolean`, valgfri) — If this is true, the provider allows partial payments. Default is false.

## ConfigurationPaymentMethod

`object`

- `type` ([`ConfigurationPaymentMethodType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationPaymentMethodType), valgfri)

## ConfigurationPaymentMethodType

`string enum`
`mobile_pay` · `vipps` · ``

This represents the payment method type.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ConfigurationResponseBody

`object`

- `content` ([`ConfigurationContentWithApi`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationContentWithApi), valgfri)
- `events` (`object`, valgfri) — events contain configuration data for events in the LMS.  
This covers notifications sent to the user and consent changes.

- `holding` ([`ConfigurationHolding`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationHolding), valgfri)
- `patron` ([`ConfigurationPatron`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationPatron), valgfri)
- `payment` ([`ConfigurationPayment`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationPayment), valgfri) — If this field is missing, the vendor does not support payments.
- `search` ([`ConfigurationSearchWithApi`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationSearchWithApi), valgfri)
- `version` (`string`, påkrevd) — This contains the version of the Open Library API.

## ConfigurationSearchApi

`object`

- `delegated` (`object`, valgfri)

## ConfigurationSearchExpression

`object`

- `clustering` ([`array of array of ExpressionClusteringField`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ExpressionClusteringField), valgfri) — This is the providers preferred clustering of publications.  
This clustering can be used to group publications together, emulating an expression level.


## ConfigurationSearchResponseBody

`object`

- `expression` ([`ConfigurationSearchExpression`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationSearchExpression), valgfri)
- `suggestions` ([`ConfigurationSearchSuggestions`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationSearchSuggestions), valgfri)
- `uiLanguages` (`object`, valgfri) — This contains the ui language settings.

All ui language codes should be on this list https://www.loc.gov/marc/languages/

- `workSearch` (`object`, valgfri)

## ConfigurationSearchSuggestions

`object`

- `available` ([`array of ConfigurationSearchSuggestionsFilterAvailable`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationSearchSuggestionsFilterAvailable), valgfri) — This tells which filters are available for the `/suggestions` endpoint.
- `disabled` (`boolean`, valgfri) — This tells the Vendor if the `/suggestions` endpoint is disabled or not. (Default `false`).

If this is set to `true`, the Vendor should not make request to the `/suggestions` endpoint.


## ConfigurationSearchSuggestionsFilterAvailable

`object`

- `description` (`string`, valgfri) — This is a description of what type of filter this is.
- `type` ([`SuggestionsFilterType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#SuggestionsFilterType), påkrevd)

## ConfigurationSearchWithApi

`all of object + ConfigurationSearchResponseBody`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ConfigurationWorkSearchFacet

`object`

- `available` ([`array of ConfigurationWorkSearchFacetAvailable`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationWorkSearchFacetAvailable), valgfri)

## ConfigurationWorkSearchFacetAvailable

`object`

- `description` (`string`, valgfri) — This is a description of what type of `facet` this is.
- `type` ([`SearchFacetType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#SearchFacetType), påkrevd)

## ConfigurationWorkSearchFilter

`object`

- `available` ([`array of ConfigurationWorkSearchFilterAvailable`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationWorkSearchFilterAvailable), valgfri)

## ConfigurationWorkSearchFilterAvailable

`object`

- `description` (`string`, valgfri) — This is a description of what type of filter this is.
- `type` ([`SearchFilterType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#SearchFilterType), påkrevd)

## ConfigurationWorkSearchSorting

`object`

- `available` ([`array of ConfigurationWorkSearchSortingAvailable`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationWorkSearchSortingAvailable), valgfri)

## ConfigurationWorkSearchSortingAvailable

`object`

This is a description of a sorting type.

- `description` (`string`, valgfri) — This is a description of what type of sorting this is.
- `type` ([`SearchSortingType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#SearchSortingType), påkrevd)

## ContactInfo

`object`

Contact information for registration and tickets.

At least one of the fields must be provided: `url`, `email`, `phone`, or `info`.


- `email` (`string (email)`, valgfri) — Email for registration/tickets
- `info` (`string`, valgfri) — Instructions on where to register/buy tickets
- `phone` (`string`, valgfri) — Phone number with country prefix for registration/tickets
- `url` (`string (uri)`, valgfri) — URL to registration/ticket page

## Contributor

`object`

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


## CreatePatronListRequestBody

`PatronList`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## CreatePatronReservationRequestBody

`object`

- `pickupLocation` ([`PickupLocationWithoutNames`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PickupLocationWithoutNames), påkrevd)
- `reserveId` ([`ReserveId`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ReserveId), påkrevd)

## CreatePatronReservationResponseBody

`object`

- `reservation` ([`PatronReservation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronReservation), påkrevd)

## Date

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

Ingen felter i spesifikasjonen — se skjemaindeksen 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åkrevd) — 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åkrevd) — `century`

## DateTypeLiteral

`object`

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

- `type` (`string enum`, påkrevd) — `literal`
- `value` (`string`, påkrevd)

## DateTypeRFC3339

`object`

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

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

## DateTypeYear

`object`

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

- `type` (`string enum`, påkrevd) — `year`
- `year` (`integer`, påkrevd) — 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åkrevd) — `yearRange`

## DeletePatronRequestBody

`object`

- `acknowledgement` (`object`, valgfri) — This is used to acknowledge the deletion of the patron.

This is used to delete a patron, if an identity provider was used for login (when we can not validated the patron through identifier and password).

- `patron` (`object`, påkrevd) — When the patron is not logge in through an identity provider, we use identifier and password (even if the password was not used at login).


## DeletePatronResponseBody

`object`

- `acknowledgement` (`object`, valgfri) — This contains the acknowledgement code, that should be used to begin deletion process.
- `status` (`string enum`, påkrevd) — `waiting_for_acknowledgement` · `pending` · `in_progress` · `done` · `deletion_error` — This tells the state of the deletion of the patron.

The status can be:
- `waiting_for_acknowledgement`, to begin the deleting process, call the deletion endpoint with the acknowledgement code.
- `pending`, the deletion request is acknowledged, and we are waiting on the process to begin. 
- `in_process`, the deletion process is in progress.
- `done`, the deletion process is done (meaning the patronId does not exist).
- `deletion_error`, the deletion process failed.


## Description

`one of DescriptionTypeLiteral`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## DescriptionTypeLiteral

`object`

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

- `type` (`string enum`, påkrevd) — `literal`
- `value` (`string`, påkrevd)

## Edition

`one of EditionTypeLiteral | EditionTypeNumbering`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## EditionTypeLiteral

`object`

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

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

## EditionTypeNumbering

`object`

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

## Error

`object`

- `code` ([`ErrorCode`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ErrorCode), påkrevd)
- `info` ([`ErrorInfo`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ErrorInfo), påkrevd)

## ErrorCode

`integer enum`
`500` · `600` · `100001` · `100023` · `100211` · `100215` · `100221` · `100411` · `100611` · `101001` · `101047` · `101053` · `102001` · `102301` · `102311` · `110001` · `200001` · `200077` · `200101` · `200103` · `300001` · `300005` · `300009` · `300013` · `300301` · `300311` · `310001` · `310011` · `330001` · `330011` · `330101` · `330111`

A number representing the type of error.

List of error codes:

- \<error code\>: \<error description\>  

- 500: System error
- 600: Unsupported Open Library API version
- 10001: Endpoint disabled
- 71001: Consent has not been given for 'loan history'
- 100001: Wrong patron username or password
- 100023: Patron ID not found
- 100211: maxNumberOfEmailAddresses exceeded
- 100215: maxNumberOfPhoneNumbers exceeded
- 100221: Pickup location cannot contain sections
- 100411: Updating patron consent failed
- 100611: Updating patron notification settings failed
- 101001: Reservation ID not found
- 101047: Branch ID cannot be used as pick up branch
- 101053: Section ID cannot be used as pick up branch
- 102001: Loan ID not found
- 102301: Loan not renewable, because it is an interlibrary loan
- 102311: Loan not renewable, because it is reserved
- 110001: Branch ID not found
- 200001: Publication ID not found
- 200077: ui language not supported
- 200101: missing required query parameter
- 200103: invalid/unsupported query parameter value
- 300001: Initialize payment should not be used
- 300005: Initialize payment should be used
- 300009: Payment method not supported
- 300013: Payment method does not support partial payment
- 300301: Finalized payment can not de changed
- 300311: FinalizePaymentRequest.fees contains fees with the same ID
- 310001: Loan history ID not found
- 310011: Loan history ID already exists
- 330001: List ID not found
- 330011: List ID already exists
- 330101: List item ID not found
- 330111: List item ID already exists


Ingen felter i spesifikasjonen — se skjemaindeksen 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 spesifikasjonen — se skjemaindeksen for formen.

## Errors

`object`

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

## Event

`object`

Complete event information.

Only the field `description` can contain formatting.


- `admission` ([`EventAdmission`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#EventAdmission), påkrevd)
- `audiences` ([`array of EventAudience`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#EventAudience), valgfri) — Target audiences for the event
- `branch` ([`EventBranch`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#EventBranch), påkrevd)
- `categories` ([`array of EventCategory`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#EventCategory), valgfri) — Event categories
- `description` (`string`, påkrevd) — A detailed description of the event. Is in limited html format. Supports following html tags - b - i - p - a - ul - ol - li
- `id` (`string`, påkrevd) — Unique identifier for the event.

If multi events have the same 'id' but different language, then they are the same event.

- `images` ([`array of ImageTypeContent`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ImageTypeContent), valgfri)
- `language` (`string`, valgfri) — The language of this events content (https://www.loc.gov/marc/languages/).
- `location` ([`EventLocation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#EventLocation), valgfri)
- `organizers` ([`array of EventOrganizer`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#EventOrganizer), valgfri) — Event organizers
- `promoted` ([`Promoted`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Promoted), valgfri)
- `relatedEvents` ([`RelatedEvents`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#RelatedEvents), valgfri)
- `relevantWorks` ([`RelevantWorks`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#RelevantWorks), valgfri)
- `scheduling` ([`EventScheduling`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#EventScheduling), påkrevd)
- `series` ([`EventSeries`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#EventSeries), valgfri)
- `state` ([`EventState`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#EventState), påkrevd)
- `teaser` (`string`, valgfri) — A short, engaging text designed to spark interest in the event
- `title` (`string`, påkrevd) — Event title
- `updateTime` (`string (date-time)`, påkrevd) — When was the event last update (or create) in RFC3339 _date-time_ format.
- `url` (`string (uri)`, valgfri) — URL to the event's webpage

## EventAdmission

`one of OpenAdmission | TicketAdmission | RegistrationAdmission`

Admission and registration information for an event

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## EventAudience

`object`

Information about an audience target for an event

- `id` (`string`, påkrevd) — Unique identifier for the audience target
- `label` (`string`, påkrevd) — Localized label for the audience target

## EventBranch

`object`

Branch information, this is the main branch associated with the event.

- `branchId` (`string`, påkrevd) — The branch ID (should exist in GET /locations)
- `branchName` (`string`, påkrevd) — Name of the branch

## EventCategory

`object`

Category classification for events

- `id` (`string`, påkrevd) — Category identifier
- `label` (`string`, påkrevd) — Localized category label

## EventLocation

`one of EventLocationAtBranch | EventLocationExternal`

The location where the event takes place

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## EventLocationAtBranch

`object`

Location information for an event at the branch location.

- `location` (`string`, påkrevd) — The internal location used for the event
- `type` (`string enum`, påkrevd) — `at_branch`

## EventLocationExternal

`object`

Location information for an external venue.

- `address` ([`Address`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Address), valgfri) — The physical address of the event location
- `name` (`string`, påkrevd) — External location name
- `type` (`string enum`, påkrevd) — `external`

## EventOrganizer

`object`

Information about an external event organizer

- `id` (`string`, valgfri) — Unique identifier for the external organizer
- `name` (`string`, påkrevd) — Name of the external organizer

## EventPriceCategory

`object`

- `amount` (`integer`, påkrevd) — The price for a ticket. 0 if free.

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

- `currency` (`string`, påkrevd) — The currency of the price. ISO 4217 code.
- `label` (`string`, valgfri) — A label for the price, this can been used e.g. as prefix for the price type. E.g. "Adults" or "Children"

## EventPricing

`one of EventPricingSimple | EventPricingPriceCategories`

Pricing information for an event

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## EventPricingPriceCategories

`object`

- `categories` ([`array of EventPriceCategory`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#EventPriceCategory), påkrevd) — Array of price categories for an event
- `type` (`string enum`, påkrevd) — `price_categories`

## EventPricingSimple

`object`

- `text` (`string`, påkrevd) — Simple pricing text, e.g. "0 - 100 DKK"
- `type` (`string enum`, påkrevd) — `simple` · `value`

## EventScheduling

`one of AllDayScheduling | TimeSpanScheduling`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## EventSeries

`object`

Information about an event series that this event belongs to

- `eventIds` (`array of string`, valgfri) — An array of event ids within the series. This list is restricted to events that fall within the date range specified by the API request.  
It does not include the event id of the current event itself.

- `seriesId` (`string`, påkrevd) — Identifier of the event-series. This searchId can be used with `GET /content/event/series/{seriesId}`.

## EventState

`string enum`
`scheduled` · `cancelled` · `finished`

The state of the event.

There are three event state type
- scheduled, Meaning that the event is scheduled and expected to be carried out as planned (See scheduling).
- cancelled, Meaning that the event is cancelled.
- finished, Meaning that the event is finished.


Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ExpressionClusteringField

`one of ExpressionClusteringFieldNamedCreators | ExpressionClusteringFieldNamedContributors | ExpressionClusteringFieldNamedCreatorsAndContributors | ExpressionClusteringFieldNamedMediaTypes | ExpressionClusteringFieldNamedLanguage`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ExpressionClusteringFieldName

`object`

This is used to tell the providers preferred clustering of publications.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ExpressionClusteringFieldNamedContributors

`all of ExpressionClusteringFieldName + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ExpressionClusteringFieldNamedCreators

`all of ExpressionClusteringFieldName + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ExpressionClusteringFieldNamedCreatorsAndContributors

`all of ExpressionClusteringFieldName + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ExpressionClusteringFieldNamedLanguage

`all of ExpressionClusteringFieldName + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ExpressionClusteringFieldNamedMediaTypes

`all of ExpressionClusteringFieldName + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## Extent

`one of ExtentTypeLiteral | ExtentTypePages | ExtentTypePlaytime | ExtentTypeUnits`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ExtentTypeLiteral

`object`

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

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

## ExtentTypePages

`object`

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

## ExtentTypePlaytime

`object`

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

## ExtentTypeUnits

`object`

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

## Facet

`object`

- `name` (`string`, valgfri) — A displayable (human readable) facet name.
- `terms` ([`array of FacetTerm`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#FacetTerm), påkrevd)
- `type` ([`SearchFacetType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#SearchFacetType), påkrevd)

## FacetTerm

`object`

- `name` (`string`, påkrevd) — A displayable (human readable) representation of facet term name.
- `occurrences` (`integer`, valgfri) — The number of occurrences in the search result, based on works.
- `value` (`string`, påkrevd) — The facet terms searchable value.

## FeeAmount

`Amount`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## FeeCreatedTime

`string (date-time)`

The date and time the fee was created.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## FeeCurrency

`string`

ISO 4217

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## FeeDueDate

`string (date)`

The due date of the fee.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## FeeId

`string`

This is the fee ID.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## FeeItem

`object`

Item information related to a fee.

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

## 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 spesifikasjonen — se skjemaindeksen 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 spesifikasjonen — se skjemaindeksen 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 spesifikasjonen — se skjemaindeksen for formen.

## FieldItemId

`string`

The item ID is the unique item identifier. This is the identifier needed to make a checkout and/or checkin. So if the LMS has an internal identifier for an item, but uses an external identifier for checkout and checkin, the itemId should be the value of the external identifier. In some LMSs, this is called the barcode.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## FinalizeFeesResponseBody

`object`

Contains a mapping from each (unique) fee ID (from the request) to a response detailing how the finalize operation went for that fee.

- `responses` (`unknown`, påkrevd) — A mapping from each fee ID (from the request) to a FinalizeFee.

## FinalizeFeeStatus

`string enum`
`registered` · `registered_by_different_payment_id` · `fee_not_payable` · `not_allowed`

The results of a payment finalize operation. 
If any other value than the following is returned, it can be assumed that the operation was unsuccessful (i.e. it was not finalized by the current request).

* **registered**:                         The fee was successfully finalized
* **registered_by_different_payment_id**: The fee had already been finalized by a different payment ID
* **fee_not_payable**:                    The fee was not payable, and therefore could not be finalized
* **not_allowed**:                        The client is not authorized to finalize this fee


Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## FinalizePaymentFee

`object`

- `amount` ([`FeeAmount`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#FeeAmount), valgfri) — This should only be used with a partial enabled payment methods. If the partial payment is not enabled, but
this field is set, the error code 300013 is returned.

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

- `id` ([`FeeId`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#FeeId), påkrevd)

## FinalizePaymentRequestBody

`object`

- `fees` ([`array of FinalizePaymentFee`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#FinalizePaymentFee), påkrevd) — The list of fees that should be finalized.  
This array must not contain any fees with the same ID. In that case, an error will be returned.

- `method` ([`ConfigurationPaymentMethodType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ConfigurationPaymentMethodType), påkrevd)
- `orderId` (`string`, valgfri) — Order ID from initialize payment.

If in the configuration, payment->initialize->state is `use_initialize`, this field is required.

- `paymentId` (`string`, påkrevd) — Payment ID from the payment gateway.

## Form

`object`

- `id` (`string`, valgfri) — A id that (if set) can be used with the filter `plas.forms` to search on this form.
- `label` (`string`, påkrevd) — A displayable (human readable) value of the form.

## Genre

`object`

- `id` (`string`, valgfri) — A id that (if set) can be used with the filter `plas.genres` to search on this genre.
- `label` (`string`, påkrevd) — A displayable (human readable) value of the genre.

## GetAgentsResponseBody

`object`

- `agents` (`unknown`, påkrevd)

## GetContentEventsInSeriesResponseBody

`object`

- `events` ([`array of Event`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Event), påkrevd)
- `total` (`integer`, påkrevd) — The total number of events in the series.

## GetContentEventsResponseBody

`object`

- `endOfResults` (`boolean`, påkrevd) — If this is false, we haven't reached the end of the search result yet, if it's false we have, and if it's missing or null we don't know.
- `events` ([`array of Event`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Event), påkrevd)
- `total` (`integer`, valgfri) — The total number of events in the whole period.

## GetHoldingResponseBody

`object`

- `holdings` (`unknown`, påkrevd)

## GetPublicationsResponseBody

`object`

- `publications` (`unknown`, påkrevd)

## GetSuggestionsResponseBody

`object`

- `suggestions` ([`array of Suggestion`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Suggestion), påkrevd)

## GetVersionResponseBody

`object`

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

## GetWorksResponseBody

`object`

- `works` (`unknown`, påkrevd)

## Holding

`object`

- `locations` ([`array of HoldingLocation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#HoldingLocation), påkrevd)
- `numberOfReservations` (`integer`, valgfri) — This tells how many reservations there exist on the publication (or periodical).

If this is unknown, the field is not set.

- `periodical` ([`HoldingPeriodical`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#HoldingPeriodical), valgfri)
- `publicationId` (`string`, påkrevd) — The publication ID
- `reserveId` (`string`, påkrevd) — This is the Reserve ID to be used for reserving this publication (or periodical). If this is empty, the publication (or periodical) is not reservable.  
If the holding represents a periodical, this reserve ID is still all that is required to reserve that issue.


## HoldingItem

`object`

- `availableState` (`string enum`, påkrevd) — `available` · `not_available` — This tells if the item is available at the shelf.
- `itemId` ([`FieldItemId`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#FieldItemId), påkrevd)
- `lendingDays` (`integer`, valgfri) — If this field is set, it should be assumed that the lending time for this item is different from other "normal" items.
This field tells how many days this item can be borrowed for.

Sometimes a publication is available and reservable, but numberOfReservations is not zero. This can be because some
items are not reservable, but are loanable. This would often be the case if an item has a shorter lending period than usual.

- `loanableState` (`string enum`, påkrevd) — `loanable` · `not_for_loan` — This tells if the item is loanable.
- `pickupLocations` ([`array of PickupLocation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PickupLocation), valgfri) — This is a list of locations where a reservation on this item can be made to.
This field (if set) takes precedence over all other pickup locations information.

- `reserveId` (`string`, valgfri) — The reserve ID for reserving precisely this item. If this is empty or missing, the item is not reservable.

## HoldingLocation

`object`

The field location uniquely defines a location on a branch (library), and items tells which items are associated with that location.
In a holding response for a given publicationId, the unique combination of a location's branch and section elements should at most appear once.  

E.g. a combination of a location with 2 section items of types "floor" and "department" (in that order of relevance) and a shelfmark, would 
give the following path to the items: branch > section (floor) > section (department) > shelfmark.


- `items` ([`array of HoldingItem`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#HoldingItem), påkrevd)
- `location` ([`Location`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Location), påkrevd)
- `pickupLocations` ([`array of PickupLocation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PickupLocation), valgfri) — This is a list of locations where a reservation be made to.
This field (if set) takes precedence over the pickup locations information from in /locations and /patron/{patronId}/configuration.

- `shelfmark` (`string`, påkrevd)

## HoldingPeriodical

`object`

A Periodical is e.g. a magazine or a newspaper published at regular intervals.

If the holding does not represent a periodical, then this field is not set.


- `grouping` ([`array of HoldingPeriodicalGroup`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#HoldingPeriodicalGroup), valgfri) — The grouping is the natural division of periodicals based on of e.g. when a periodical is published and/or which number it has.  
An example could be the periodical "Sky and telescope", let us say there exist 3 publishings for this periodical. Two in 2022, and one in 2023.  
The two from 2022 could be the volumes "March" and "July", and the one from 2023 could be "February".  
This will give us 2022 -> (March, July), 2023 -> February, and each can be expressed with its own grouping like this:
1. `[{"type": "year", "value": "2022"}, {"type": "volume", "value": "March"}]`
2. `[{"type": "year", "value": "2022"}, {"type": "volume", "value": "July"}]`
3. `[{"type": "year", "value": "2023"}, {"type": "volume", "value": "February"}]`

This makes it possible for the vendor to visualize all publishings of the periodical.

It is recommended that only the types `year`, `volume` and `number` are used, but if it is not enough, use the types level1, ..., level7.

The default grouping order is documented in [GET /configuration](#/Configuration/GetConfiguration), and if another ordering is needed, it can be specified there.

- `name` (`string`, valgfri) — The issue's name for display.

## HoldingPeriodicalGroup

`object`

- `type` ([`HoldingPeriodicalGroupType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#HoldingPeriodicalGroupType), påkrevd)
- `value` (`string`, påkrevd)

## HoldingPeriodicalGroupType

`string enum`
`year` · `volume` · `number` · `level1` · `level2` · `level3` · `level4` · `level5` · `level6` · `level7`

Is used to visually group and name the value.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## Holdings

`array of Holding`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ImageAgent

`one of ImageTypeAgent`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ImageAlt

`object`

Alternative for accessibility

- `text` (`string`, påkrevd) — Alternative text for accessibility

## ImageCredit

`object`

Image credit information

- `text` (`string`, påkrevd)

## ImageFocalPoint

`one of ImageFocalPointHotspot`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ImageFocalPointHotspot

`object`

Describes the point of the most important part of the image

- `type` (`string enum`, påkrevd) — `hotspot`
- `x` (`number`, påkrevd) — Horizontal position of hotspot (0-1)
- `y` (`number`, påkrevd) — Vertical position of hotspot (0-1)

## ImageOriginal

`all of ImageUrl + object`

The `url' is the un-cropped version of the image

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ImagePublication

`one of ImageTypeFrontCover | ImageTypeBackCover`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ImageTypeAgent

`all of ImageUrl + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ImageTypeBackCover

`all of ImageUrl + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ImageTypeContent

`all of ImageUrl + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ImageTypeFrontCover

`all of ImageUrl + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ImageUrl

`object`

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

## InitializePaymentRequestBody

`object`

- `initialize` (`object`, påkrevd)

## InitializePaymentResponseBody

`object`

- `order` (`object`, påkrevd)

## IsPatronRegistrationPossibleRequestBody

`object`

In this the password is optional, because it is not all possible registries that need it.  
A registry is where we check if a patron can be registered.


- `identifier` ([`PatronIdentifierTypeAndValue`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronIdentifierTypeAndValue), påkrevd)
- `password` ([`PatronPassword`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronPassword), valgfri)

## IsPatronRegistrationPossibleResponseBody

`object`

- `registries` (`array of object`, påkrevd) — Any entry in this array is a possible way a new patron be registered through, based on the provided identifier.

## Language

`object`

- `code` (`string`, påkrevd) — 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 spesifikasjonen — se skjemaindeksen for formen.

## LoanDueDate

`string (date)`

The latest date on which the loan must be returned.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## LoanId

`string`

This is the loan ID.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## LoanItemId

`string`

This is the item identifier of the checkout item.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## LoanPublicationId

`string`

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

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## LoanRenewableState

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

This tells the renewable state of the loan.

Ingen felter i spesifikasjonen — se skjemaindeksen 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/no/provider/v0.6.5/schemas/#LoanRenewableState), påkrevd)

## Location

`object`

The branch name and the 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åkrevd)
- `branchName` (`string`, påkrevd)
- `path` ([`array of LocationSectionElementWithIdNameAndType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LocationSectionElementWithIdNameAndType), påkrevd) — This contains location section elements, sorted in the same order as LocationsResponse->sections in /locations.
At most one of each location section type may be present in this array, but it is not a requirement that
all types are present - there should only be the needed types.

All section elements that can appear here, should be defined as an element of one of the sections in LocationsResponse->sections from /locations.


## LocationBranch

`object`

- `coordinates` (`object`, valgfri)
- `externals` ([`LocationBranchExternals`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LocationBranchExternals), valgfri)
- `id` (`string`, påkrevd) — This is the internal ID of the library branch, used in e.g. the HoldingLocation->location object.
- `name` (`string`, påkrevd) — Displayable name of the library branch.
- `pickup` (`object`, valgfri)
- `tags` (`array of string`, valgfri) — Can be used to add a simple custom attribute to a branch.  
It is not advisable to use this, unless absolutely necessary.  
There are no default tag values, and thus other vendors cannot be compatible by default, based on an Open Library API implementation.  
Instead, before using, try to reach out to Open Library API with a description of the problem to be solved.


## LocationBranchExternals

`object`

- `identifiers` (`array of object`, valgfri) — This is used to inform about external identifiers, like e.g. an ISIL code.

## LocationSection

`object`

All section types and elements defined here could appear in a holding location.

- `elements` ([`array of LocationSectionElementWithIdNameAndParentId`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LocationSectionElementWithIdNameAndParentId), påkrevd)
- `type` (`string`, påkrevd)

## LocationSectionElementType

`string`

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

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## LocationSectionElementWithId

`object`

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

## LocationSectionElementWithIdAndName

`all of LocationSectionElementWithId + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## LocationSectionElementWithIdAndType

`all of LocationSectionElementWithId + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## LocationSectionElementWithIdNameAndParentId

`all of LocationSectionElementWithIdAndName + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## LocationSectionElementWithIdNameAndType

`all of LocationSectionElementWithIdAndName + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## LocationsResponseBody

`object`

- `branches` ([`array of LocationBranch`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LocationBranch), påkrevd)
- `mainBranch` (`object`, valgfri)
- `pickupLocations` ([`array of PickupLocation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PickupLocation), valgfri) — Default pickup locations provided by the LMS. These can be customized at more granular levels:

*   **Item Level:** Defined within the `/holdings` endpoint (locations->items->pickupLocations). This has the highest priority.
*   **Publication Level:** Defined within the `/holdings` endpoint (locations->pickupLocations).
*   **Patron Level:** Defined via the `/patron/{patronId}/configuration` endpoint.
*   **LMS Level:** Defined via the `/locations` (this) endpoint. This has the lowest priority.

These levels, if present, fully replaces any lower level pickup locations.

If no pickup locations are defined at any of these levels, reservations cannot be made.

- `sections` ([`array of LocationSection`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LocationSection), påkrevd)

## MediaType

`object`

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

## MediaTypeEnum

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

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## MediaTypeLiteral

`string`

Ingen felter i spesifikasjonen — se skjemaindeksen 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 spesifikasjonen — se skjemaindeksen for formen.

## OAuthClientIdAndSecret

`object`

- `client_id` (`string`, påkrevd)
- `client_secret` (`string`, påkrevd)

## OAuthToken

`object`

- `token` (`string`, påkrevd) — The token that we want to revoke. This is always an access_token.

## OpenAdmission

`object`

Open admission with no registration or tickets required

- `type` (`string enum`, påkrevd) — `open` — Type of admission - open access

## Patron

`object`

- `address` ([`PatronAddress`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronAddress), valgfri)
- `emails` ([`PatronEmails`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronEmails), påkrevd)
- `fullName` ([`PatronFullName`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronFullName), påkrevd) — FullName is always provided, but givenName and surname are only specified if the data is organized in such a detailed manner.
- `givenName` ([`PatronGivenName`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronGivenName), valgfri)
- `identifiers` ([`array of PatronIdentifierTypeAndValue`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronIdentifierTypeAndValue), valgfri)
- `patronId` ([`PatronId`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronId), påkrevd)
- `permissions` (`array of object`, valgfri) — This is a list of activities, locations, etc. that the patron is either allowed or blocked from accessing.
- `phoneNumbers` ([`PatronPhoneNumbers`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronPhoneNumbers), påkrevd)
- `pickupLocation` ([`PickupLocation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PickupLocation), påkrevd) — The object tells where a reservation item can be picked up.

This is the default pickup location for the patron.

- `reservation` ([`PatronInfoReservation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronInfoReservation), valgfri)
- `surname` ([`PatronSurname`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronSurname), valgfri)

## PatronAddress

`Address`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronAuthenticationByCodeAndCodeVerifierResponseBody

`object`

- `patron` ([`Patron`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Patron), påkrevd)

## PatronAuthenticationIdentityProviderResponseBody

`object`

- `url` (`string (uri)`, påkrevd)

## PatronAuthenticationNoPasswordRequestBody

`object`

- `identifier` ([`PatronIdentifierTypeAndValue`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronIdentifierTypeAndValue), påkrevd)

## PatronAuthenticationNoPasswordResponseBody

`object`

- `patron` ([`Patron`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Patron), påkrevd)

## PatronAuthenticationRequestBody

`object`

- `identifier` ([`PatronIdentifierTypeAndValue`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronIdentifierTypeAndValue), påkrevd)
- `password` ([`PatronPassword`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronPassword), påkrevd)

## PatronAuthenticationResponseBody

`object`

- `patron` ([`Patron`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Patron), påkrevd)

## PatronConfiguration

`object`

The patron configuration object tells the settings and restriction that are placed on the patron.

- `reservation` ([`PatronConfigurationReservation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronConfigurationReservation), valgfri)

## PatronConfigurationReservation

`object`

- `fee` ([`PatronConfigurationReservationFee`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronConfigurationReservationFee), valgfri)
- `limits` ([`array of PatronConfigurationReservationLimit`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronConfigurationReservationLimit), valgfri)
- `pickupLocations` ([`array of PickupLocation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PickupLocation), valgfri) — This tells the locations the patron can change there default/main pickup location to.
If pickupLocations is set (also if it is the empty array), it overwrites the pickup information from /locations.
The pickupLocations from /holdings (if set) overwrites this information.


## PatronConfigurationReservationFee

`object`

This tells that there are a default fee connected to the action of making a reservation.

- `amount` ([`Amount`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Amount), påkrevd) — This is the fee amount that the patron must accept when making a reservation.

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

- `chargedAt` (`string enum`, påkrevd) — `reservation` · `checkout`
- `currency` (`string`, påkrevd) — ISO 4217

## PatronConfigurationReservationLimit

`one of PatronConfigurationReservationLimitDaily | PatronConfigurationReservationLimitMax`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronConfigurationReservationLimitDaily

`object`

This tells the daily limit of reservation the patron can make.

- `limit` (`integer`, påkrevd)
- `type` (`string enum`, påkrevd) — `daily`

## PatronConfigurationReservationLimitMax

`object`

This tells the maximum number of concurrent reservations the patron have.

- `limit` (`integer`, påkrevd)
- `type` (`string enum`, påkrevd) — `max`

## PatronConfigurationResponseBody

`object`

- `configuration` ([`PatronConfiguration`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronConfiguration), påkrevd)

## PatronConsentResponseBody

`object`

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

## PatronConsentType

`string enum`
`loan_history`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronEmail

`all of PatronEmailWithoutVerified + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronEmails

`array of PatronEmail`

The size of this array must not exceed (if specified) the ´maxNumberOfEmailAddresses´ value given in the configuration.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronEmailsWithoutVerified

`array of PatronEmailWithoutVerified`

The size of this array must not exceed (if specified) the ´maxNumberOfEmailAddresses´ value given in the configuration.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronEmailWithoutVerified

`object`

- `default` (`boolean`, valgfri) — At most one email can de marked as default.
- `email` (`string`, påkrevd) — Patron email, following RFC 5322.

## PatronEvaluatedConsent

`object`

- `given` (`boolean`, påkrevd)
- `type` ([`PatronConsentType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronConsentType), påkrevd)
- `version` (`string`, påkrevd) — 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 spesifikasjonen — se skjemaindeksen for formen.

## PatronFee

`object`

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

## PatronFeeResponseBody

`object`

- `fees` ([`array of PatronFee`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronFee), påkrevd)

## PatronFullName

`string`

Patron's full name.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronGivenName

`string`

Patron's given name.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronId

`string`

Unique patron identifier (unique for that customer).

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronIdentifier

`string`

Identifier value. This information may be sensitive.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronIdentifierType

`string`

A type identifier that tells which type of identifier is used.

It is recommended to use one of the following types:
- `local` an identifier for one local library
- `email` an email address.
- `phone` a phone number.
- 

Norway specific:
- `norway_national_library_card` the Norwegian national library card.
- `norway_national_birth_number` the Norwegian "Fødselsnummer".


Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronIdentifierTypeAndValue

`object`

This can be used to identify the user.  
The data contained in the object is often sensitive data.  
The field `type` is optional. If it missing, it is assumed that the type of `value` is unknown.


- `type` ([`PatronIdentifierType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronIdentifierType), valgfri)
- `value` ([`PatronIdentifier`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronIdentifier), påkrevd)

## PatronInfoReservation

`object`

- `postpone` (`object`, valgfri) — This describes an interval (possibly an open interval, but only in one end) where the patron is not interested in reservations being fulfilled, e.g. while on vacation.


## PatronInformationResponseBody

`object`

- `patron` ([`Patron`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Patron), påkrevd)

## PatronList

`object`

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

## PatronListBaseItem

`object`

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

## PatronListItem

`one of PatronListItemWorkAndPublication`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronListItems

`array of PatronListItem`

Items contained in the list.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronListItemWorkAndPublication

`all of PatronListBaseItem + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronListResponseBody

`all of PatronList + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronListsResponseBody

`object`

- `default` (`string`, påkrevd) — The default patron list ID. If a vendor chooses to only use one patron list, this will be the recommended ID of that list.

If there exist no patron list with the default ID, the default list can be created.

- `lists` ([`array of PatronList`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronList), påkrevd) — A list of patron lists.

## PatronLoan

`object`

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

## 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 spesifikasjonen — se skjemaindeksen for formen.

## PatronLoanAcquiredFromTypeInterlibraryLoan

`object`

- `type` (`string enum`, påkrevd) — `interlibrary_loan`

## PatronLoanAcquiredFromTypeLocalCirculation

`object`

- `type` (`string enum`, påkrevd) — `local_circulation`

## PatronLoanAcquiredFromTypeUnknown

`object`

- `type` (`string enum`, påkrevd) — `unknown`

## PatronLoanHistory

`object`

- `acquiredFrom` ([`PatronLoanAcquiredFrom`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronLoanAcquiredFrom), valgfri)
- `addedToHistoryTime` (`string (date-time)`, påkrevd) — 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/no/provider/v0.6.5/schemas/#LoanCreatedTime), valgfri)
- `dueDate` (`string (date)`, valgfri) — The due date of the loan at the time of checkin.
- `id` (`string`, påkrevd) — This is the loan history ID (not the loan ID).
- `itemId` ([`LoanItemId`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LoanItemId), valgfri)
- `loanId` ([`LoanId`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LoanId), valgfri)
- `manuallyAdded` (`boolean`, påkrevd) — Was the loan added manually by the patron.
- `publicationId` ([`LoanPublicationId`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LoanPublicationId), påkrevd)
- `publicationMetadata` ([`PublicationFallback`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PublicationFallback), valgfri)

## PatronLoanHistoryResponseBody

`object`

- `loanHistory` ([`array of PatronLoanHistory`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronLoanHistory), påkrevd)

## PatronLoanResponseBody

`object`

- `loans` ([`array of PatronLoan`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronLoan), påkrevd)

## PatronNotificationCategory

`string`

This is used to suggest a way in which notifications could be visually grouped together.


Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronNotificationDeliveryChosen

`PatronNotificationDeliveryMethods`

This tells which delivery methods the patron has chosen

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronNotificationDeliveryMethodEmail

`object`

- `method` (`string enum`, påkrevd) — `email`

## PatronNotificationDeliveryMethodPostal

`all of PatronAddress + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronNotificationDeliveryMethods

`array of one of PatronNotificationDeliveryMethodSMS | PatronNotificationDeliveryMethodEmail | PatronNotificationDeliveryMethodVendor | PatronNotificationDeliveryMethodPostal`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronNotificationDeliveryMethodSMS

`object`

- `method` (`string enum`, påkrevd) — `sms`

## PatronNotificationDeliveryMethodVendor

`object`

The `vendor` delivery method is special compared to the other methods.  
Each vendor connected with the provider should have their own instance of this method for each patron, 
meaning that the patron could have multiple instances of this method, but only one for each vendor, and only the instance
associated with that vendor should be shown to the vendor, and only that instance should be updatable by the vendor.

If this delivery method is enabled, the provider sends the associated event to that vendor's event endpoint (if it is configured).


- `method` (`string enum`, påkrevd) — `vendor`

## PatronNotificationSetting

`object`

- `category` ([`PatronNotificationCategory`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronNotificationCategory), valgfri)
- `delivery` (`object`, påkrevd) — This tells about delivery methods
- `name` (`string`, valgfri) — Readable text
- `type` ([`PatronNotificationType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronNotificationType), påkrevd)

## PatronNotificationSettings

`array of PatronNotificationSetting`

The array must only contain one notification setting of each type.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronNotificationSettingsResponseBody

`object`

- `notificationSettings` ([`PatronNotificationSettings`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronNotificationSettings), påkrevd)

## PatronNotificationType

`string`

This identifies the type of notification.

It is recommended to use the following notification types:  
- `checkout_receipt`, send a receipt when finished checking out items.
- `checkin_receipt`, send a receipt when finished checking in items.
- `reservation_ready_for_pickup`, send when a reservation is ready to be pickup by the patron.
- `ready_reservation_expires_soon`, a reservation that is ready to be pickup by the patron, will expire soon.
- `reservation_expires_soon`, a reservation (that is not ready to be pickup by the patron), will expire soon.
- `reservation_reminder`, if it has been a long time since the reservation was placed, this notification can be sent to remind the patron. It could be that the patron is no longer interested in the reservation. 
- `loan_due_date_is_approaching`, the due date of a loan is approaching. 
- `fee_due_date_is_approaching`, the due date of a fee is approaching.

The following notification types are also events, and if the `vendor` delivery method is chosen for any of these,
and the vendor has configured an event receiver through /configuration/event/register/receiver, the event will be sent to the vendor.
- `reservation_ready_for_pickup`
- `ready_reservation_expires_soon`
- `reservation_expires_soon`
- `reservation_reminder` 
- `loan_due_date_is_approaching` 
- `fee_due_date_is_approaching`


Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronPassword

`string`

Password for identifier.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronPhoneNumber

`all of PatronPhoneNumberWithoutVerified + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronPhoneNumbers

`array of PatronPhoneNumber`

The size of this array must not exceed (if specified) the ´maxNumberOfPhoneNumbers´ value given in the configuration.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronPhoneNumbersWithoutVerified

`array of PatronPhoneNumberWithoutVerified`

The size of this array must not exceed (if specified) the ´maxNumberOfPhoneNumbers´ value given in the configuration.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PatronPhoneNumberWithoutVerified

`object`

- `default` (`boolean`, påkrevd) — At most one phone number can be marked as default.
- `number` (`string`, påkrevd) — The phone number, in ITU standard E.164 format.
- `type` (`string enum`, påkrevd) — `mobile` · `landline` — This tells which type of phone the number is associated with

## PatronRegistrationIdentifierRequestBody

`object`

- `identifier` ([`PatronIdentifierTypeAndValue`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronIdentifierTypeAndValue), påkrevd)
- `password` ([`PatronPassword`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronPassword), påkrevd)
- `pickupLocation` ([`PickupLocationWithoutNames`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PickupLocationWithoutNames), påkrevd)
- `registry` (`string`, valgfri) — If against `GET /patron/registration/possible`, it has been checked that a patron can be registered, the
registry can be added here, else it is up to the provider to choose.


## PatronRegistrationIdentifierResponseBody

`object`

- `message` (`string`, valgfri) — Message to the patron, with information about the registration process.
- `patronId` (`string`, valgfri) — If status is 'done' this should be set, else the user needs to log in again.
- `status` (`string enum`, påkrevd) — `done` · `in_progress` · `contact_the_library` — This describes the state of the registration process.

## PatronRegistrationIdentityProviderResponseBody

`object`

- `message` (`string`, valgfri) — Message to the patron, with information about the registration process.
- `patronId` (`string`, valgfri) — If status is 'done' this should be set, else the user needs to log in again.
- `status` (`string enum`, påkrevd) — `done` · `in_progress` · `contact_the_library` — This describes the state of the registration process.

## PatronReservation

`object`

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

## 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 spesifikasjonen — se skjemaindeksen for formen.

## PatronReservationFulfillmentByTypeInterlibraryLoan

`object`

- `type` (`string enum`, påkrevd) — `interlibrary_loan`

## PatronReservationFulfillmentByTypeLocalCirculation

`object`

- `type` (`string enum`, påkrevd) — `local_circulation`

## PatronReservationFulfillmentByTypePurchase

`object`

- `type` (`string enum`, påkrevd) — `purchase`

## PatronReservationFulfillmentByTypeUnknown

`object`

- `type` (`string enum`, påkrevd) — `unknown`

## PatronReservationResponseBody

`object`

- `reservations` ([`array of PatronReservation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronReservation), påkrevd)

## PatronSurname

`string`

Patron surname.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## 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åkrevd) — The branch ID where a reservation should be picked up.
- `branchName` (`string`, påkrevd) — This is the name of the branch.
- `sections` ([`array of LocationSectionElementWithIdNameAndType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LocationSectionElementWithIdNameAndType), valgfri) — This are specifying the location more precisely.

## PickupLocationWithoutNames

`object`

The object tells a location where a reservation item can be pickup.  
The `section` is for specifying the location more exactly.


- `branchId` (`string`, påkrevd) — The branch ID where a reservation should be picked up.
- `sections` ([`array of LocationSectionElementWithIdAndType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#LocationSectionElementWithIdAndType), valgfri) — This are specifying the location more precisely.

## Promoted

`object`

- `endTime` (`string (date-time)`, valgfri) — End time in RFC3339 _date-time_ format.
- `startTime` (`string (date-time)`, valgfri) — Start time in RFC3339 _date-time_ format.
- `type` ([`PromotedType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PromotedType), påkrevd)

## PromotedType

`any of PromotedTypeEnum | PromotedTypeLiteral`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PromotedTypeEnum

`string enum`
`promoted`

Pre-defined promotion states that we can "switch" on.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PromotedTypeLiteral

`string`

Literal promotion states that are unknown beforehand.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## Publication

`object`

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

## PublicationAdditionalIdentifiers

`array of AdditionalIdentifier`

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


Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PublicationContributors

`array of Contributor`

The contributor(s) to the publication.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PublicationCreators

`array of Contributor`

The creator(s) of the publication.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PublicationExtent

`array of Extent`

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

Ingen felter i spesifikasjonen — se skjemaindeksen 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 spesifikasjonen — se skjemaindeksen for formen.

## PublicationIdentifier

`string`

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

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PublicationImages

`array of ImagePublication`

Images to use with the publication.

Ingen felter i spesifikasjonen — se skjemaindeksen 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 spesifikasjonen — se skjemaindeksen for formen.

## PublicationMediaTypes

`array of MediaType`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PublicationTitles

`array of Title`

Title of the publication.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## PublicationWork

`object`

- `identifier` ([`PublicationWorkIdentifier`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PublicationWorkIdentifier), påkrevd)
- `relation` ([`PublicationWorkRelation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PublicationWorkRelation), valgfri)

## PublicationWorkIdentifier

`string`

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

Ingen felter i spesifikasjonen — se skjemaindeksen 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 spesifikasjonen — se skjemaindeksen 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åkrevd) — The publisher's name.

## PublisherAndPlaces

`object`

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

## PublisherPlace

`object`

- `place` (`string`, påkrevd)

## QueryRelevantWorks

`object`

Relevant works specified as a query string

- `query` (`string`, påkrevd) — Query string to find relevant works
- `type` (`string enum`, påkrevd) — `query` — Type of relevant works - query string

## RegisterEventReceiverRequestBody

`object`

- `secret` (`string`, påkrevd) — This cannot be empty. It should be randomly generated, and should be used to validate the Provider in the Vendor API.
- `url` (`string`, påkrevd) — The empty string will unregister an existing receiver for the vendor.


## RegistrationAdmission

`object`

Registration-based admission with contact information

- `contactInfo` ([`ContactInfo`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ContactInfo), påkrevd)
- `state` ([`TicketState`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#TicketState), påkrevd) — State of the registration
- `type` (`string enum`, påkrevd) — `registration` — Type of admission - registration required

## RelatedEvents

`array of string`

Related events

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## RelevantWorks

`one of WorksRelevantWorks | QueryRelevantWorks`

Books or other works relevant to the event

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## RenewPatronLoanFailure

`object`

If the renewal failed, status should be set to the reason for the failure.

- `status` (`string enum`, påkrevd) — `denied` · `too_many_renewals` · `user_blocked` · `renewal_blocked_by_fees` · `reservation_blocked_renewal` — There are many possible failure states a renewal attempt can have.

## RenewPatronLoanResponseBody

`one of RenewPatronLoanSuccess | RenewPatronLoanFailure`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## RenewPatronLoanSuccess

`object`

If the renewal went well, status should be set to `success`, and loan should be set to the renewed loan.

- `loan` ([`PatronLoan`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronLoan), påkrevd)
- `status` (`string enum`, påkrevd) — `success`

## ReservationCreatedTime

`string (date-time)`

The date and time the reservation was created.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ReservationExpirationDate

`string (date)`

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

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ReservationId

`string`

This is the reservation ID.

Ingen felter i spesifikasjonen — se skjemaindeksen 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 spesifikasjonen — se skjemaindeksen 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 spesifikasjonen — se skjemaindeksen 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 spesifikasjonen — se skjemaindeksen for formen.

## ReservationPublicationId

`string`

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

Ingen felter i spesifikasjonen — se skjemaindeksen 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 spesifikasjonen — se skjemaindeksen for formen.

## ReservationState

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

This represents where in the acquiring process this reservation is.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## ReserveId

`string`

This is the ID used to make a reservation.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## RevokeTokenRequestBody

`all of OAuthClientIdAndSecret + OAuthToken`

This is for revoking a token, when using OAuth grant_type *client_credentials*.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SearchAgentsResponseBody

`object`

- `results` ([`array of Agent`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Agent), påkrevd)
- `total` (`integer`, påkrevd) — The total number of results in the whole search result.

## SearchFacetType

`any of SearchFacetTypeEnum | SearchFacetTypeLiteral`

Facet type, this is the value given to the search facet parameter.

The SearchFacetType should always exists in SearchFilterType


Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SearchFacetTypeEnum

`string enum`
`plas.audience.literal` · `plas.audience.ageRange` · `plas.audience.ageGroup` · `plas.mediaTypes` · `plas.language` · `plas.subjects` · `plas.genres` · `plas.forms`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SearchFacetTypeLiteral

`string`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SearchFilterType

`any of SearchFilterTypeEnum | SearchFilterTypeLiteral`

Filter type, this is the value given to the search `filter` parameter.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SearchFilterTypeEnum

`string enum`
`plas.audience.literal` · `plas.audience.ageRange` · `plas.audience.ageGroup` · `plas.mediaTypes` · `plas.language` · `plas.subjects` · `plas.genres` · `plas.forms`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SearchFilterTypeLiteral

`string`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SearchResultEntry

`object`

This search entry, represents one entry in a search result.

It's partial build with data from a work, with additional data from the works underlying publications.


- `work` ([`SearchResultEntryWork`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#SearchResultEntryWork), påkrevd)

## SearchResultEntryPublication

`object`

- `identifier` ([`PublicationIdentifier`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PublicationIdentifier), påkrevd)
- `language` ([`PublicationLanguage`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PublicationLanguage), valgfri)
- `mediaTypes` ([`PublicationMediaTypes`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PublicationMediaTypes), valgfri)

## SearchResultEntryWork

`object`

- `creationDate` ([`Date`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Date), valgfri)
- `creators` ([`WorkCreators`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkCreators), valgfri)
- `forms` ([`WorkForms`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkForms), valgfri)
- `identifier` ([`WorkIdentifier`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkIdentifier), påkrevd)
- `images` ([`array of ImagePublication`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ImagePublication), valgfri) — Images to use with the work.
- `publications` ([`array of SearchResultEntryPublication`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#SearchResultEntryPublication), påkrevd) — This contain only the underlying publications from the work, that matches the search criteria.
- `titles` ([`WorkTitles`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkTitles), påkrevd)

## SearchSortingType

`any of SearchSortingTypeEnum | SearchSortingTypeLiteral`

Sorting type, this is the value given to the search facet parameter.

The default sorting is `plas.relevance.desc`.


Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SearchSortingTypeEnum

`string enum`
`plas.relevance.asc` · `plas.relevance.desc` · `plas.titles.asc` · `plas.titles.desc` · `plas.publicationDate.asc` · `plas.publicationDate.desc`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SearchSortingTypeLiteral

`string`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SearchWorksResponseBody

`object`

- `endOfResults` (`boolean`, påkrevd) — If this is false, we haven't reached the end of the search result yet, if it's false we have, and if it's missing or null we don't know.
- `facets` ([`array of Facet`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Facet), valgfri) — This array contains the requested facets, and their terms. Each facet type should only appear once in the array.
- `results` ([`array of SearchResultEntry`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#SearchResultEntry), påkrevd) — It's important to be aware that, the result size doesn't always match the given page size, the result set can be both small and greater.
- `total` (`integer`, valgfri) — The total number of results in the whole search result.

## Subject

`object`

- `id` (`string`, valgfri) — A id that (if set) can be used with the filter `plas.subjects` to search on this subject.
- `label` (`string`, påkrevd) — A displayable (human readable) value of the subject.

## Suggestion

`one of SuggestionTypeQuery | SuggestionTypeContributor | SuggestionTypeWork | SuggestionTypeSubject`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SuggestionAgent

`one of SuggestionAgentTypePerson | SuggestionAgentTypeCollective`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SuggestionAgentTypeCollective

`all of BaseSuggestionAgent + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SuggestionAgentTypePerson

`all of BaseSuggestionAgent + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SuggestionParameterTypeEnum

`string enum`
`query` · `contributor` · `work` · `subject`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SuggestionsFilterType

`any of SuggestionsFilterTypeEnum | SuggestionsFilterTypeLiteral`

Filter type, this is the value given to the suggestions `filter` parameter.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SuggestionsFilterTypeEnum

`string enum`
`plas.audience.literal` · `plas.audience.ageRange` · `plas.audience.ageGroup` · `plas.mediaTypes` · `plas.language` · `plas.subjects` · `plas.genres` · `plas.forms`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SuggestionsFilterTypeLiteral

`string`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## SuggestionTypeContributor

`object`

- `contributor` (`object`, påkrevd)
- `type` (`string enum`, påkrevd) — `contributor`

## SuggestionTypeQuery

`object`

- `query` (`string`, påkrevd)
- `type` (`string enum`, påkrevd) — `query`

## SuggestionTypeSubject

`object`

- `subject` ([`Subject`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Subject), påkrevd)
- `type` (`string enum`, påkrevd) — `subject`

## SuggestionTypeWork

`object`

- `type` (`string enum`, påkrevd) — `work`
- `work` (`object`, påkrevd)

## TicketAdmission

`object`

Ticket-based admission with pricing and capacity

- `contactInfo` ([`ContactInfo`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#ContactInfo), påkrevd)
- `pricing` ([`EventPricing`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#EventPricing), påkrevd)
- `state` ([`TicketState`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#TicketState), påkrevd) — State of the ticket sale
- `ticketCapacity` (`string`, valgfri) — Total number of tickets which can be sold for the event. E.g. "100" or "unlimited"
- `type` (`string enum`, påkrevd) — `ticket` — Type of admission - ticket required

## TicketState

`string enum`
`ticket_sale_not_open` · `ticket_sale_open` · `almost_sold_out` · `sold_out`

State of ticket sales or registration

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## TimeSpanScheduling

`object`

Time-span event scheduling information

- `endTime` (`string (date-time)`, påkrevd) — End time in RFC3339 _date-time_ format.
- `startTime` (`string (date-time)`, påkrevd) — Start time in RFC3339 _date-time_ format.
- `type` (`string enum`, påkrevd) — `time_span` — Type of scheduling for time-span events

## Title

`one of TitleTypePreferred | TitleTypeVariant | TitleTypeParallel | TitleTypeOriginal`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## TitleTypeOriginal

`all of BasicTitle + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## TitleTypeParallel

`all of BasicTitle + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## TitleTypePreferred

`all of BasicTitle + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## TitleTypeVariant

`all of BasicTitle + object`

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## UpdatePatronConsentRequestBody

`object`

- `consents` ([`PatronEvaluatedConsents`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronEvaluatedConsents), påkrevd)

## UpdatePatronConsentResponseBody

`object`

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

## UpdatePatronInformationRequestAcceptedResponseBody

`object`

- `ticket` (`string`, påkrevd) — Can be used for debugging.

## UpdatePatronInformationRequestBody

`object`

- `address` ([`PatronAddress`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronAddress), valgfri)
- `emails` ([`PatronEmailsWithoutVerified`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronEmailsWithoutVerified), valgfri)
- `phoneNumbers` ([`PatronPhoneNumbersWithoutVerified`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronPhoneNumbersWithoutVerified), valgfri)
- `pickupLocation` ([`PickupLocationWithoutNames`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PickupLocationWithoutNames), valgfri)
- `reservation` ([`PatronInfoReservation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronInfoReservation), valgfri)

## UpdatePatronInformationResponseBody

`object`

- `patron` ([`Patron`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Patron), påkrevd)

## UpdatePatronListRequestBody

`object`

- `name` (`string`, påkrevd) — The new name of the list.

## UpdatePatronNotificationSetting

`object`

- `chosen` ([`PatronNotificationDeliveryChosen`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronNotificationDeliveryChosen), påkrevd)
- `type` ([`PatronNotificationType`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronNotificationType), påkrevd)

## UpdatePatronNotificationSettingsRequestBody

`object`

- `notificationSettings` ([`array of UpdatePatronNotificationSetting`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#UpdatePatronNotificationSetting), påkrevd)

## UpdatePatronNotificationSettingsResponseBody

`object`

- `notificationSettings` ([`PatronNotificationSettings`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronNotificationSettings), påkrevd)

## UpdatePatronReservationRequestBody

`object`

- `pickupLocation` ([`PickupLocationWithoutNames`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PickupLocationWithoutNames), påkrevd)

## UpdatePatronReservationResponseBody

`object`

- `reservation` ([`PatronReservation`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#PatronReservation), påkrevd)

## Version

`string`

Open Library API version.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## Work

`object`

- `audience` ([`WorkAudience`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkAudience), valgfri)
- `classification` ([`WorkClassification`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkClassification), valgfri)
- `contributors` ([`WorkContributors`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkContributors), valgfri)
- `creationDate` ([`Date`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#Date), valgfri)
- `creators` ([`WorkCreators`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkCreators), valgfri)
- `description` ([`WorkDescription`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkDescription), valgfri)
- `forms` ([`WorkForms`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkForms), valgfri)
- `genres` ([`WorkGenres`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkGenres), valgfri)
- `identifier` ([`WorkIdentifier`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkIdentifier), påkrevd)
- `images` ([`WorkImages`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkImages), valgfri)
- `language` ([`WorkLanguage`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkLanguage), valgfri)
- `publicationIds` ([`WorkPublicationIds`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkPublicationIds), valgfri)
- `subjects` ([`WorkSubjects`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkSubjects), valgfri)
- `titles` ([`WorkTitles`](https://plas.redia.dk/no/provider/v0.6.5/schemas/#WorkTitles), påkrevd)

## WorkAudience

`array of Audience`

Intended audience, target audience or intellectual level of the work.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## WorkClassification

`array of Classification`

Classification of the work.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## WorkContributors

`array of Contributor`

The contributor(s) to the work.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## WorkCreators

`array of Contributor`

The creator(s) of the work.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## WorkDescription

`array of Description`

Help readers understand what the work is about and whether they might be interested in lending/reserving it.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## WorkForms

`array of Form`

Form is a more specific type of metadata that describes the physical structure or organization of a work.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## WorkGenres

`array of Genre`

Genre is a broad category of works that share similar characteristics, such as style, tone, or subject matter.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## WorkIdentifier

`string`

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

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## WorkImages

`array of ImagePublication`

Images to use with the work.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## WorkLanguage

`array of Language`

This is the original language of the work. If the original version of the work uses multi languages this will also contain them.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## WorkPublicationIds

`array of string`

All publication identifiers from the works underlying publications. These are searchable through the GET /publication endpoint.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## WorksRelevantWorks

`object`

Relevant works specified as an array of work IDs

- `type` (`string enum`, påkrevd) — `works` — Type of relevant works - array of work ids
- `workIds` (`array of string`, påkrevd) — Array of works

## WorkSubjects

`array of Subject`

Subject is a topic or theme that is covered in a work.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.

## WorkTitles

`array of Title`

Title of the work.

Ingen felter i spesifikasjonen — se skjemaindeksen for formen.
