License
The core type, a license from which loans can be created.
type License implements Node {
id: ID!
status: LicenseStatus!
entityId: ID
target: ID
namespaceId: ID!
namespace: Namespace!
created: DateTime!
updated: DateTime!
updatedAtForODL: DateTime
licenseOrEntityLatestUpdated: DateTime!
restrictionType: RestrictionType!
terms: LicenseTerms
protection: ProtectionInfo
source: URI!
checkouts: CheckoutInfo!
customAttributes: [Attribute!]!
publication(
namespaceIds: [ID!]
): Publication
}
Fields
License.id
● ID!
non-null scalar
The unique identifier for a license, attributed by the system.
License.status
● LicenseStatus!
non-null enum
The current status for the license.
License.entityId
● ID
scalar
The entity on which the license grants accesses (typically a publication).
License.target
● ID
scalar
The target on which the license grants accesses (e.g. a publication's ISBN).
License.namespaceId
● ID!
non-null scalar
The namespace on which the license is created.
License.namespace
● Namespace!
non-null object
The namespace on which the license is created.
License.created
● DateTime!
non-null scalar
The creation date for the license.
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.
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.restrictionType
● RestrictionType!
non-null enum
The license restrictions type
License.terms
● LicenseTerms
object
The specified terms for granting access to the content.
License.protection
● ProtectionInfo
object
The protection parameters assigned to this license, if any.
License.source
● URI!
non-null scalar
An annotation for the origin of the license.
License.checkouts
● CheckoutInfo!
non-null object
The information about the checkouts done on this license.
License.customAttributes
● [Attribute!]!
non-null object
Additional custom attributes for the license.
License.publication
● Publication
object
Get the publication targeted by the license.
License.publication.namespaceIds
●[ID!]
list scalarThe namespaces in which to look for the publication via the target.
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