Schema: DigitalDocument
Schema: DigitalDocument Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: DigitalDocument.
DigitalDocument JSON-LD example for a downloadable PDF whitepaper on structured data ROI. Covers hasDigitalDocumentPermission for access control, encoding with MediaObject for file metadata, pagination, and how DigitalDocument differs from Article for non-HTML published content.
MediaObject JSON-LD example for a downloadable PDF report. MediaObject is the parent of VideoObject, AudioObject, and ImageObject. Covers the most important of its 20 direct properties: contentUrl, encodingFormat, contentSize, duration, uploadDate, and requiresSubscription.
Message JSON-LD example for an internal team message. Covers the 9 properties unique to Message: sender, recipient, toRecipient, ccRecipient, bccRecipient, dateSent, dateReceived, dateRead, messageAttachment.
TransferAction JSON-LD example for downloading a file. TransferAction is the parent of BorrowAction, DownloadAction, GiveAction, LendAction, MoneyTransfer, ReceiveAction, ReturnAction, SendAction, and TakeAction for actions that move something between parties.
DigitalDocumentPermissionType JSON-LD reference. 3-value Enumeration (Read, Write, Comment). Used as DigitalDocumentPermission.permissionType.
NoteDigitalDocument JSON-LD example for a note document (Apple Notes, OneNote, Evernote entry). Direct DigitalDocument subtype with no unique properties.
PresentationDigitalDocument JSON-LD example for a slide deck (Keynote, PowerPoint, Google Slides). Direct DigitalDocument subtype with no unique properties.
SpreadsheetDigitalDocument JSON-LD example for a spreadsheet (Excel, Google Sheets, Numbers). Direct DigitalDocument subtype with no unique properties.
TextDigitalDocument JSON-LD example for a long-form text document (Word, Pages, Google Docs). Direct DigitalDocument subtype with no unique properties.