@adobe/jsonschema2md
Version:
Validate and document complex JSON Schemas the easy way.
30 lines (29 loc) • 674 B
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Complete JSON Schema",
"description": "Testing for skipped props",
"type": "object",
"properties": {
"foo": {
"type": "string"
},
"bar": {
"description": "Configures the bar property",
"type": "boolean",
"default": "true"
},
"foobar": {
"description": "Overwrite the bar value",
"examples":[{
"bar": "true",
"foobar": "no"
}],
"type": "string",
"format": "yes/no"
}
},
"additionalProperties": false,
"required": [
"bar"
]
}