Constructor
new IPASchema(common, applicatorByPointer)
Class constructor.
Parameters:
Name | Type | Description |
---|---|---|
common |
object | The keywords that are common to all possible materializations of the in-place application subtree. |
applicatorByPointer |
Map.<string, module:inPlaceApplicators~InPlaceApplicator> | A map including the child in-place applicators to be contained by the node. |
Members
applicatorByPointer :Map.<string, module:inPlaceApplicators~InPlaceApplicator>
A map including the child in-place applicators contained by the node.
Type:
- Map.<string, module:inPlaceApplicators~InPlaceApplicator>
common :object
The keywords that are common to all possible materializations of the in-place application subtree.
Type:
- object
Methods
getAnnotations() → {object}
Retrieves the annotation-related keywords from the in-place application node.
Returns:
The JSON Schema subset representing the annotations at the top level.
- Type
- object
getSelectedApplicators() → (nullable) {Array.<module:inPlaceApplicators~IPASchema>}
Returns the nodes representing the selected in-place applicator subschemas.
Returns:
The array of
selected in-place applicator subnodes, or null
if the node has no child
in-place applicators.
- Type
- Array.<module:inPlaceApplicators~IPASchema>
getSelectedSchema() → {object}
Retrieves the materialization of the JSON Schema that is currently selected.
Returns:
The selected materialization of the JSON Schema represented by the node.
- Type
- object