json_schema v0.1.0 JsonSchema.Parser.AllOfParser View Source
Parses a JSON schema allOf type:
{
"allOf": [
{
"type": "object",
"properties": {
"color": {
"$ref": "#/color"
},
"title": {
"type": "string"
},
"radius": {
"type": "number"
}
},
"required": [ "color", "radius" ]
},
{
"type": "string"
}
]
}
Into an JsonSchema.Types.AllOfType
.
Link to this section Summary
Functions
Parses a JSON schema allOf type into an JsonSchema.Types.AllOfType
Returns true if the JSON subschema represents an allOf type
Link to this section Functions
Link to this function
parse(map, parent_id, id, path, name)
View Source
parse( JsonSchema.Types.schemaNode(), URI.t(), URI.t() | nil, JsonSchema.TypePath.t(), String.t() ) :: JsonSchema.Parser.ParserResult.t()
Parses a JSON schema allOf type into an JsonSchema.Types.AllOfType
.