Relation (v1)

Warning

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

Description

Any relationship between two or more annotation types. For texts could be a grammatical relation such as subject-object, a semantic relation between meanings or roles, or a temporal relation indicating the simultaneity or ordering in time of events or states. For image regions and video objects this could involve spatial relations or part-whole relations.

Properties

Synopsis

Properties marked with * are required.

Property

Type

Origin

document

string

Annotation (v2)

id *

string

Thing (v1)

Inherited from Annotation (v2)

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"
}