UNPKG

@adobe/jsonschema2md

Version:

Validate and document complex JSON Schemas the easy way.

28 lines 705 B
{ "$schema": "http://json-schema.org/draft-04/schema#", "$id": "http://www.example.com/schemas/components/Button.json", "type": "object", "title": "Button", "description": "Renders a Button.", "additionalProperties": false, "properties": { "properties": { "type": "object", "title": "Properties", "description": "Properties of Button.", "additionalProperties": false, "properties": { "type": { "type": "string", "enum": [ "button", "submit", "reset" ], "title": "Type", "description": "The type of the Button (not used for anchors)." } } } } }