Optional
$idOptional
additionalOptional
additionalOptional
constOptional
discriminatorOptional
enumOptional
extendOptional
formatOptional
itemsOptional
originalOptional
patternOptional
propertiesOptional
requiredOptional
typeOptional
unionAdds additionalItems to the model. If another model already exist the two are merged.
corresponding input that got interpreted to this model
Adds additionalProperty to the model. If another model already exist the two are merged.
corresponding input that got interpreted to this model corresponding input that got interpreted to this model
Adds another model this model should extend.
It is only allowed to extend if the other model have $id and is not already being extended.
Adds an item to the model.
If items already exist the two are merged.
corresponding input that got interpreted to this model
Adds a tuple to the model.
If a item already exist it will be merged.
corresponding input that got interpreted to this model
Adds a union model to the model.
Adds a patternProperty to the model. If the pattern already exist the two models are merged.
corresponding input that got interpreted to this model
Adds a property to the model. If the property already exist the two are merged.
corresponding input that got interpreted to this model
Static
Private
idReturns true if the $id of a CommonModel includes anonymous_schema
Static
Private
internalStatic
Private
mergeMerge two common model additionalItems together
corresponding input that got interpreted to this model
Static
Private
mergeMerge two common model additionalProperties together
corresponding input that got interpreted to this model
Static
mergeOnly merge if left side is undefined and right side is sat OR both sides are defined
corresponding input that got interpreted to this model
Static
Private
mergeMerge items together, prefer tuples over simple array since it is more strict.
corresponding input that got interpreted to this model
Static
Private
mergeMerge two common model pattern properties together
corresponding input that got interpreted to this model
Static
Private
mergeMerge two common model properties together
corresponding input that got interpreted to this model
Static
Private
mergeMerge types together
Static
toTakes a deep copy of the input object and converts it to an instance of CommonModel.
to transform
CommonModel instance of the object
Common internal representation for a model.