raillabel.json_format.metadata module

class raillabel.json_format.metadata.JSONMetadata(*, schema_version: Literal['1.0.0'], name: str | None = None, subschema_version: str | None = None, exporter_version: str | None = None, file_version: str | None = None, tagged_file: str | None = None, annotator: str | None = None, comment: str | None = None, **extra_data: Any)

Bases: BaseModel

Metadata about the annotation file itself.

_abc_impl = <_abc._abc_data object>
annotator: str | None

The person or organization responsible for annotating the file.

comment: str | None

Additional information or description about the annotation content.

exporter_version: str | None

Version identifyer of the exporter software.

file_version: str | None

Version number of the OpenLABEL annotation content.

model_config: ClassVar[ConfigDict] = {'extra': 'allow'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

name: str | None

Name of the OpenLABEL annotation content.

schema_version: Literal['1.0.0']

Version number of the OpenLABEL schema this annotation file follows.

subschema_version: str | None

Version number of the RailLabel subschema this annotation file follows.

tagged_file: str | None

File name or URI of the data file being tagged.