Skip to content

Commit

Permalink
adr-0016-notes
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-dxw committed Sep 27, 2023
1 parent 35d0965 commit f2024af
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions doc/adr/0016-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# 16. Notes

Date: 2023-09-27

## Status

Provisional

## Context

We want a log of events including notes from human and machine events.

## Decision

Whilst the log might contain other events (e.g. publication of new versions, enrichment times, etc.) a
core aspect is recording notes.

These should be placed in the Marklogic Properties and be a single tag with nested tags, eg.

<notes>
<note time="2022-02-02T02:02:02Z" source="human" author="dragon" type="on hold">Judgment has typo</note>
<note time="2022-01-01T01:01:01Z" source="machine" author="ingester" type="new judgment">Judgment TDR-2023-RFT uploaded</note>
</notes>

Notes should be added to the end of this list; should identify whether they're human-written or machine-written, have timestamps, help us understand what person or machine wrote the message, allow a machine-readable categorisation of messages, and has writable text.

Editors will be able to add notes via the Editor UI

## Consequences

We should be able to track the lifecycle of a document

0 comments on commit f2024af

Please sign in to comment.