@adobe/jsonschema2md
Version:
Validate and document complex JSON Schemas the easy way.
30 lines (29 loc) • 845 B
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"
}
}
}
}
}
},
"additionalProperties": false
}