-
Notifications
You must be signed in to change notification settings - Fork 0
Events in DEER
Patrick Cuba edited this page Mar 15, 2019
·
1 revision
After a new Entity is created, the resulting object, with the newly created annotations attached. The event is broadcast from the element to which deer-type is attached.
{ "@id": "http://store.rerum.io/id/001",
"@context": "http://schema.org",
"name": {
"value": "Example Entity",
"source": "http://store.rerum.io/id/010", // the annotation that brought this value
"evidence": "http://store.rerum.io/id/100" // if available, the evidence for this assertion
},
"creator": {
"value": "Agent1",
"source": "http://store.rerum.io/id/020"
},
"date": {
"value": "2012/02/29",
"source": "http://store.rerum.io/id/030"
}
}If this is an object that was created in DEER, the @id would resolve to only the @id, @context, and name, with the rest being added from annotations discovered. The source is the location of the annotation that asserted the value, which may have some evidence to pass forward as well.
<input type="text" deer-key="name" id="form1">
<input type="hidden" deer-key="creator" id="form2">
<input type="date" deer-key="date" id="form3">