document
A document — any human-readable text content with structure and authorship. Base type for reports, manuscripts, briefs, whitepapers, analyses. article, note, and webpage are siblings (not children) for now; they may gain also: [document] in a future migration once the shape stabilizes.
| Metadata | Value |
|---|---|
| Plural | documents |
| Subtitle field | author |
| Also | file |
Fields
Section titled “Fields”| Field | Type |
|---|---|
contentType | string |
language | string |
wordCount | integer |
abstract | text |
tableOfContents | text |
Relations
Section titled “Relations”| Relation | Target |
|---|---|
author | actor |
references | document[] |
citedBy | document[] |
Inherited
Section titled “Inherited”From file:
| Field | Type |
|---|---|
encoding | string |
filename | string |
format | string |
kind | string |
lineCount | integer |
mimeType | string |
path | string |
sha | string |
size | integer |
| Relation | Target |
|---|---|
attachedTo | message |
repository | repository |
Prior art
Section titled “Prior art”External standards this shape draws from or aligns with. See Shape design principles for how prior art informs shape design.
- Dublin Core Metadata Initiative — Our contentType ≈ dc:format; language = dc:language; author = dc:creator; references/citedBy ≈ dc:relation.
- schema.org/DigitalDocument — Our abstract ≈ abstract; tableOfContents = hasPart or accessModeSufficient; wordCount = wordCount.
- W3C Web Annotation Data Model — Our references[]/citedBy[] are annotation target/body relationships between documents.