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.

Repository @martingajdos.ch did:plc:63agxubxktwdumdrwhegyk2h namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityopenlegal.ch
Indexed
cid bafyreiechn5qp4q65ndzhr2ofsqzot6yyfn37yftz5rwg73dlqc7tximpu

Checks

Valid
  • missing-primary-description defs.mainThe record has no description.
  • unlimited-string defs.main.record.properties.motivationNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$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
}