Create Update Tombstone Event Resources

Create Update Delete Tombstone Resources

This page contains an assortment of resources to help explain the structure and relationship of the Create Update Tombstone Event object. The Create Update Tombstone Event data model is based on the W3C PROV model and is used to track the history of an object in the DiSSCo infrastructure. Within each object (Agent, Activity, Entity) are properties which indicate the relationship to each-other. For example the Entity has a property wasGeneratedBy which indicates the Activity that generated the Entity. While the serialisation is in json it follows semantic approach of the model and it should be relatively easy to serialise it to RDF. Alt text

Note that we don't use the PROV-JSON Serilization proposal as it has been stale for a long time. We also feel that it overcomplicated the model especially for the relatively simple use case we have in DiSSCo.

Diagrams

Class Diagrams

                            classDiagram
 class CreateUpdateTombstoneEvent { 
   dcterms:identifier : string 
   ods:hasAgents : array<ods:Agent> 
 }
 class Activity {
   prov:wasAssociatedWith : array<ods:Agent> 
   prov:endedAtTime : string 
   prov:used : string 
   rdfs:comment : string 
   ods:changeValue : array<object> 
 }
 class Entity {
   prov:value : object 
   prov:wasRevisionOf : string 
   prov:wasGeneratedBy : string 
 }
 class Agent { 
   schema:identifier : string 
   schema:name : string 
   ods:hasRoles : array<ods:Role> 
   schema:email : string 
   schema:url : string 
   ods:hasIdentifiers : array<ods:Identifier> 
 }
 class Role { 
   schema:roleName : string 
   schema:startDate : string 
   schema:endDate : string 
   schema:position : integer 
 }
 class Identifier { 
   dcterms:title : string 
   dcterms:type : string 
   dcterms:identifier : string 
   dcterms:format : array<string> 
   dcterms:subject : array<string> 
   ods:isPartOfLabel : boolean 
   ods:gupriLevel : string 
   ods:identifierStatus : string 
 }
CreateUpdateTombstoneEvent -- Activity
CreateUpdateTombstoneEvent -- Entity
CreateUpdateTombstoneEvent -- Agent
Agent -- Role
Agent -- Identifier
                            

Entity-Relationship Diagrams

                            erDiagram
    CreateUpdateTombstoneEvent ||--|| Activity : Has
    CreateUpdateTombstoneEvent ||--|| Entity : Has
    CreateUpdateTombstoneEvent ||--|{ Agent : Has
    Agent ||--|{ Role : Has
    Agent ||--o{ Identifier : Has
                        

Built with Mermaid.js