digitalutsc / islandora_web_annotations

An Islandora module that enables annotation on Islandora objects, following the W3C Web annotation model.
GNU General Public License v3.0
7 stars 5 forks source link

Modifiedby field in jsonld #204

Closed kimpham54 closed 7 years ago

kimpham54 commented 7 years ago

A modifiedby/modified author field does not exist in the w3c web annotation spec. How should we record edits to the annotation?

Currently we can view the modified author by looking at the versions of the datastream.

kstapelfeldt commented 7 years ago

we need to explore installing PREMIS so that this data may be more available in the interface to people who need to track edits to annotations. We're not going to try extending the specification or anything like that for this particular issue. Kim to export foxml from the admin client and review and ensure that edits are being tracked in the audit trail.

kimpham54 commented 7 years ago

the fedora object xml keeps an audit record and points to the location of the version. the versioned content is not however contained in the foxml

<audit:record ID="AUDREC2">
<audit:process type="Fedora API-M"/>
<audit:action>modifyDatastreamByReference</audit:action>
<audit:componentID>WADM</audit:componentID>
<audit:responsibility>admin</audit:responsibility>
<audit:date>2017-06-15T19:39:51.256Z</audit:date>
<audit:justification></audit:justification>
</audit:record>
<audit:record ID="AUDREC7">
<audit:process type="Fedora API-M"/>
<audit:action>modifyDatastreamByReference</audit:action>
<audit:componentID>WADM</audit:componentID>
<audit:responsibility>admin</audit:responsibility>
<audit:date>2017-06-15T19:42:57.854Z</audit:date>
<audit:justification></audit:justification>
</audit:record>

location in datastreams directory

<foxml:datastreamVersion ID="WADM.1" LABEL="WADM" CREATED="2017-06-15T19:39:51.256Z" MIMETYPE="application/ld+json" SIZE="964">
<foxml:contentDigest TYPE="SHA-1" DIGEST="9b3a762af856b662a093b9917cf9b2aa1ccf10e9"/>
<foxml:contentLocation TYPE="INTERNAL_ID" REF="annotation:108+WADM+WADM.1"/>
</foxml:datastreamVersion>
<foxml:datastreamVersion ID="WADM.2" LABEL="WADM" CREATED="2017-06-15T19:42:57.854Z" MIMETYPE="application/ld+json" SIZE="969">
<foxml:contentDigest TYPE="SHA-1" DIGEST="1f5f67255167628ec2530c2e03afa647118efb20"/>
<foxml:contentLocation TYPE="INTERNAL_ID" REF="annotation:108+WADM+WADM.2"/>
</foxml:datastreamVersion>
kimpham54 commented 7 years ago

closing. If we ever need editor information, it is available in the foxml.