@adobe/jsonschema2md
Version:
Validate and document complex JSON Schemas the easy way.
36 lines (35 loc) • 1.1 kB
JSON
{
"$id": "https://example.com/schemas/nestedobject",
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Nested Object",
"type": "object",
"properties": {
"settings": {
"description": "settings",
"type": "object",
"properties": {
"collaborators": {
"description": "collaborators",
"type": "object",
"patternProperties": {
".*": {
"type": "string"
}
},
"properties": {
"id": {
"type": "string",
"version": "1.0.0",
"testProperty": "test"
}
},
"version": "1.0.0",
"testProperty": "test"
}
},
"version": "1.0.0",
"testProperty": "test"
}
},
"additionalProperties": false
}