Skip to main content

License

The core type, a license from which loans can be created.

type License implements Node {
checkouts: CheckoutInfo!
created: DateTime!
customAttributes: [Attribute!]!
id: ID!
licenseOrEntityLatestUpdated: DateTime!
namespace: Namespace!
namespaceId: ID!
protection: ProtectionInfo
publication(
namespaceIds: [ID!]!
): Publication
restrictionType: RestrictionType!
source: URI!
status: LicenseStatus!
target: ID!
terms: LicenseTerms
updated: DateTime!
updatedAtForODL: DateTime
}

Fields

License.checkouts ● CheckoutInfo! non-null object

The information about the checkouts done on this license.

License.created ● DateTime! non-null scalar

The creation date for the license.

License.customAttributes ● [Attribute!]! non-null object

Additional custom attributes for the license.

License.id ● ID! non-null scalar

The unique identifier for a license, attributed by the system.

License.licenseOrEntityLatestUpdated ● DateTime! non-null scalar

The last update date of the license's target or any of its resources (for internal use in the ODL feeds).

License.namespace ● Namespace! non-null object

The namespace on which the license is created.

License.namespaceId ● ID! non-null scalar

The namespace on which the license is created.

License.protection ● ProtectionInfo object

The protection parameters assigned to this license, if any.

License.publication ● Publication object

Get the publication targeted by the license.

License.publication.namespaceIds ● [ID!]! non-null scalar

The namespaces in which to look for the publication via the target.

License.restrictionType ● RestrictionType! non-null enum

The license restrictions type

License.source ● URI! non-null scalar

An annotation for the origin of the license.

License.status ● LicenseStatus! non-null enum

The current status for the license.

License.target ● ID! non-null scalar

The target on which the license grants accesses (e.g. a publication's ISBN).

License.terms ● LicenseTerms object

The specified terms for granting access to the content.

License.updated ● DateTime! non-null scalar

The last update date for the license.

License.updatedAtForODL ● DateTime scalar

The last update date for the license's ODL feed.

Interfaces

Node interface

An object with an ID.

Returned by

createLicense mutation ● license query

Member of

CancelLicensePayload object ● CheckoutInfo object ● ExpireLicensePayload object ● LicenseEdge object ● Loan object

Implemented by

Entity union