Annotation (v2)

Warning

This is not the latest version. The latest version is v6.

Description

Any kind of information added to a document. If an annotation is specific to a region over the primary data or a relation over such regions, specific sub-types should be used instead of this high-level type.

Properties

Synopsis

Properties marked with * are required.

Property

Type

Origin

document

string

native

id *

string

Thing (v1)

Native

document

  • type: string

  • required: no

The identifier of the document that the annotation is over.


Inherited from Thing (v1)

id

  • type: string

  • required: yes

A unique identifier for the annotation or document. Uniqueness is relative to the view the annotation is in or the list of documents at the top level of a MMIF file.


JSON Schema

{
  "additionalProperties": true,
  "properties": {
    "id": {
      "description": "A unique identifier for the annotation or document. Uniqueness is relative to the view the annotation is in or the list of documents at the top level of a MMIF file.",
      "type": "string"
    },
    "document": {
      "type": "string",
      "description": "The identifier of the document that the annotation is over."
    }
  },
  "required": [
    "id"
  ],
  "type": "object"
}