Skip to content
Alpha: see what works today →
Menu

cascade:Snapshot snapshot

https://ns.cascadeprotocol.org/cascade#Snapshot

The set of files a writer holds as one of its acts left it, as a git commit names its tree and its parents: a node in its act's file, prov:wasGeneratedBy the act, named by cascade:SnapshotNamingRule. The set is every file named as N9 names a file in a folder runtime/pod-layout.ttl gives by solid:instanceContainer, but the views' folder, the syncs' folder, the one it gives cascade:SyncFromAnotherWriter, and the requirements' folder, the one it gives cascade:holdsRequirementsForReadingAPod: a file the layout gives by solid:instance changes in place, and is outside it, and so is any other file in those folders. A file is in the set by its path, whether a host keeps it at that path or in an archive; an archive, in the folder the layout gives cascade:holdsFilesInArchivesOfMediaType, is not.

Type
owl:Class
Domain of
cascade:fileAddedToSet, cascade:firstParentSnapshot, cascade:mergedParentSnapshot, cascade:setHash
Range of
cascade:firstParentSnapshot, cascade:mergedParentSnapshot

cascade:SnapshotShape checks each cascade:Snapshot.

PropertyValue typeHow manyWhen it is not met
prov:wasGeneratedBysh:IRIexactly 1 A snapshot is generated by one act, named by its IRI.
cascade:firstParentSnapshotsh:IRIat most 1 A snapshot has at most one first parent, the writer's previous snapshot.
cascade:mergedParentSnapshotsh:IRI A snapshot's merged parents are snapshots, named by their IRIs.
cascade:setHashxsd:string pattern "^[0-9a-f]{64}$"exactly 1 A snapshot carries one set hash, 64 lower-case hexadecimal digits.
cascade:fileAddedToSetxsd:stringat least 1 A snapshot names each file of the set its act wrote by its path relative to the pod, its act's own file among them.
Where it comes from and what uses it
Subclass of
prov:Entity
Queries
Rules