Croissant 🥐

Croissant specifications as implemented by mlcroissant.
For the actual specifications, please refer to the Croissant 1.0 standard..
To add new properties, refer to the documentation.

FileObject

Nodes to describe a dataset FileObject (distribution).
Property Expected type Cardinality Description
sc:name sc:Text ONE The name of the file. As much as possible, the name should reflect the name of the file as downloaded, including the file extension. e.g. "images.zip".
sc:contentUrl sc:URL ONE Actual bytes of the media object, for example the image file or video file.
sc:contentSize sc:Text ONE File size in (mega/kilo/...)bytes. Defaults to bytes if a unit is not specified.
sc:containedIn MANY Another FileObject or FileSet that this one is contained in, e.g., in the case of a file extracted from an archive. When this property is present, the contentUrl is evaluated as a relative path within the container object
sc:description sc:Text ONE
sc:encodingFormat sc:Text ONE The format of the file, given as a mime type.
cr:md5 sc:Text ONE
sc:sameAs sc:URL MANY URL (or local name) of a FileObject with the same content, but in a different format.
sc:sha256 sc:Text ONE Checksum for the file contents.
cr:source Source ONE