Optional$idOptionaladditionalOptionaladditionalOptionalconstOptionaldiscriminatorOptionalenumOptionalextendOptionalformatOptionalitemsOptionaloriginalOptionalpatternOptionalpropertiesOptionalrequiredOptionaltypeOptionalunionAdds 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
Add enum value to the model.
Ensures no duplicates are added.
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 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
Adds types to the existing model types.
Makes sure to only keep a single type incase of duplicates.
which types we should try and add to the existing output
Retrieves data from originalInput by given key
given key
Checks if given property name is required in object
given property name
Remove enum from model.
Removes type(s) from model type
Set the types of the model
StaticmergeOnly merge if left side is undefined and right side is sat OR both sides are defined
corresponding input that got interpreted to this model
StatictoTakes 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.