UNPKG

@adobe/jsonschema2md

Version:

Validate and document complex JSON Schemas the easy way.

63 lines (34 loc) 1.14 kB
--- template: reference foo: bar --- # Custom Schema ``` https://example.com/schemas/custom ``` This is an extensible schema. It has `definitions`, that can be used in other schemas. Additionally, it allows custom properties. | Abstract | Extensible | Status | Custom Properties | Additional Properties | Defined In | |----------|------------|--------|-------------------|-----------------------|------------| | Can be instantiated | Yes | Experimental | Allowed | Permitted | [custom.schema.json](custom.schema.json) | # Custom Properties | Property | Type | Required | Defined by | |----------|------|----------|------------| | [bar](#bar) | `string` | Optional | Custom (this schema) | | [foo](#foo) | `string` | Optional | Custom (this schema) | | `*` | any | Additional | this schema *allows* additional properties | ## bar A unique identifier given to every addressable thing. `bar` * is optional * type: `string` * defined in this schema ### bar Type `string` ## foo A unique identifier given to every addressable thing. `foo` * is optional * type: `string` * defined in this schema ### foo Type `string`