Specification reference

Data

View this specification's source

Data files contextualized within the datamap. A Data object may represent either a whole file or, when its identifier includes a selector, a specific fragment within a file.

Schema.org type: schema.org/MediaObject or File

#Properties

PropertyTypeRequiredDescription
idTextCOULDPath pointing to the file
typeTextMUSTData
additionalTypeTextCOULDDecoration discriminator, e.g. Raw Data
pathTextMUSTPath to the target data object when using the flat form
selectorTextCOULDFragment selector that narrows the target to a subset of the data object
selectorFormatURLCOULDFormal description of the selector syntax, e.g. RFC 7111
encodingFormatTextCOULDMIME type of the target data object or fragment
hasPartDataCOULDNested data fragments
additionalPropertyAnnotationCOULDExtensible file-, fragment-, or content-level metadata

#Relationships

Diagram source
flowchart TD

    pa@{ shape: stadium, label: "string" }
    se@{ shape: stadium, label: "string" }
    sf@{ shape: stadium, label: "URL" }
    ef@{ shape: stadium, label: "string" }

    Data --path--> pa
    Data --selector--> se
    Data --selectorFormat--> sf
    Data --encodingFormat--> ef
    Data --hasPart--> Data
    Data --additionalProperty--> Annotation