ObjectAnnotation
MMO.schemas · 1 symbol · generated 5 Oct 2026
ObjectAnnotation
Annotation.js:190The annotation of an object: one child annotation per property.
- 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
valid
readonlyaccessorAnnotation.js:204- Type
boolean
Methods3
constructor(value, path)
Annotation.js:191| value | ||
| path = '' |
toJSON()
Annotation.js:216Override: the properties' errors are flattened into the same list.
| returns | valid: boolean, errors: Array= | } |
merge(anno, withErrors)
Annotation.js:231Override: also fold each property's outcome into the matching one of this annotation.
| anno | MMO.schemas.Annotation | |
| withErrors = true | boolean |