Skip to content

promote annotations' id field  #233

@keighrim

Description

@keighrim

Since we are now discussing #228 that can permanently break the MMIF, I'd also like to bring another question of mine related to the id field of annotation objects.

We need id field to properly place and locate the annotation objects in the context of the MMIF format, but id values provide nothing intrinsic about the annotations themselves. I can imagine a id value is actually represent some intrinsic property of the type (e.g., a social/governmental identification number for a Person type), but that's not the way we use the field in the current MMIF format.

That said, I think the id field should be moved up to the top of annotation object, at the same level as @type field.

Plus, view objects have their id field at their top level, so annotations having id in a nested dict seems syntactically inconsistent.


(this could also be remotely related to this discussion #230 (comment) to try to better define the distinction between "metadata" and "property" of annotation types )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions