A DocumentType is a member of a controlled list used to categorize manifestations based on format and medum.

It shows if a manifestation is e.g. a printed book, a downloadable e-book, a film on DVD, an audiobook on CD, a Nintendo Switch game on a game card, etc.

interface DocumentType {
    allowedWorkTypeIds?: ("V1000" | "V1001" | "V1002" | "V1003" | "V1004" | "V1005")[];
    code: string;
    defaultWorkTypeId?: "V1000" | "V1001" | "V1002" | "V1003" | "V1004" | "V1005";
    format: string;
    medium?: string;
    onixCodes?: string[];
}

Hierarchy

  • CordataEntity
    • DocumentType

Properties

allowedWorkTypeIds?: ("V1000" | "V1001" | "V1002" | "V1003" | "V1004" | "V1005")[]

Allowed work types for this document type.

code: string

Identifier for the binding type.

defaultWorkTypeId?: "V1000" | "V1001" | "V1002" | "V1003" | "V1004" | "V1005"

Default work type for this document type.

format: string

The format of the manifestation, e.g. "book", "film", "audiobook", "Nintendo Switch game"

medium?: string

The carrier medium of the manifestation where applicable, e.g. "DVD", "downloadable", "game card"

onixCodes?: string[]

Corresponding codes from ONIX Code List 150. A code can optionally be detailed by a colon and a subcode from ONIX Code List 175. Example: "AC:A103" (first ocde from list 150, second from list 175)-