Annotation Core Resources (In Progress)

Annotation Resources (In Progress)

This page contains an assortment of resources to help explain the structure and relationship of the Annotation object. The annotation data model is based on the W3C Web Annotation model and is used to attach annotations to any digital object in the DiSSCo infrastructure. It follows the model as outlined in the below image. Alt text

Diagrams

Class Diagrams

                            classDiagram
 class Annotation { 
   ID : string 
   jobID : string 
   type : string 
   version : integer 
   motivation : None 
   motivatedBy : string 
   created : string 
   dateTombstoned : string 
   issued : string 
   batchID : string 
 }
 class hasTarget { 
   ID : string 
   type : string 
   hasSelector : object 
 }
 class hasBody { 
   value : array 
   references : string 
   score : number 
 }
 class creator { 
   name : string 
 }
 class generator { 
   name : string 
 }
 class AggregateRating { 
   ratingCount : integer 
   ratingValue : number 
 }
Annotation -- hasTarget 
Annotation -- hasBody 
Annotation -- creator 
Annotation -- generator 
Annotation -- AggregateRating 

                            

Entity-Relationship Diagrams

                            erDiagram
  Annotation ||--|| hasTarget : Has
  Annotation ||--|| hasBody : Has
  Annotation ||--|| creator : Has
  Annotation ||--|| generator : Has
  Annotation ||--o| AggregateRating : Has
                        

Built with Mermaid.js