ch.openlegal.annotation
An annotation of a legal document, modelled on the W3C Web Annotation Data Model (dokieli-flavoured) and expressed as an AT Protocol record. The creator is the record's repo (DID); collaboration is per-repo (each annotator holds their own records, aggregated by an AppView). Composes app.bsky.richtext + app.bsky.embed rather than forking them.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | openlegal.ch |
| Indexed |
Checks
Validmissing-primary-descriptiondefs.mainThe record has no description.unlimited-stringdefs.main.record.properties.motivationNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"key": "tid",
"record": {
"properties": {
"body": {
"closed": false,
"description": "The annotation content (WADM body): inline text (with richtext), or an embedded external/record resource. Absent for a bare highlight.",
"refs": [
"ch.openlegal.defs#textBody",
"app.bsky.embed.external",
"app.bsky.embed.record"
],
"type": "union"
},
"createdAt": {
"description": "When the annotation was created (WADM created).",
"format": "datetime",
"type": "string"
},
"motivation": {
"description": "Why the annotation exists (WADM motivation).",
"knownValues": [
"commenting",
"highlighting",
"describing",
"classifying",
"linking",
"editing",
"assessing",
"questioning",
"replying"
],
"type": "string"
},
"reply": {
"description": "For threaded annotations: the parent ch.openlegal.annotation being replied to (WADM replying / AS2 inReplyTo).",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"target": {
"description": "What is being annotated (WADM target — source + selector + version).",
"ref": "ch.openlegal.defs#target",
"type": "ref"
}
},
"required": [
"target",
"motivation",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"description": "An annotation of a legal document, modelled on the W3C Web Annotation Data Model (dokieli-flavoured) and expressed as an AT Protocol record. The creator is the record's repo (DID); collaboration is per-repo (each annotator holds their own records, aggregated by an AppView). Composes app.bsky.richtext + app.bsky.embed rather than forking them.",
"id": "ch.openlegal.annotation",
"lexicon": 1
}