Index

ObjectAnnotation

MMO.schemas · 1 symbol · generated 30 Sep 2026

class

ObjectAnnotation

Annotation.js:190

The annotation of an object: one child annotation per property.

class MMO.schemas.ObjectAnnotation extends MMO.schemas.Annotation
Namespace
MMO.schemas
Extends
Annotation

Index

valid readonly accessor
constructor(value, path)
toJSON()Override: the properties' errors are flattened into the same list.
merge(anno, withErrors)Override: also fold each property's outcome into the matching one of this annotation.

Properties1

Methods3

toJSON()

Annotation.js:216

Override: the properties' errors are flattened into the same list.

toJSON()
returnsvalid: boolean, errors: Array=}

merge(anno, withErrors)

Annotation.js:231

Override: also fold each property's outcome into the matching one of this annotation.

merge(anno, withErrors = true)
annoMMO.schemas.Annotation
withErrors = trueboolean