Recursive simple: Difference between revisions
Jump to navigation
Jump to search
Created page with "{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Recursive Object", "type": "object", "properties": { "name": { "type": "string", "description": "Name of the node" }, "type": { "type": "string", "description": "Type or category of the node" }, "children": { "type": "array", "description": "Nested child nodes of the same structure", "items": { "$ref": "#" } } }, "r..." |
Admin changed the content model of the page JsonSchema:Recursive simple from "wikitext" to "JSON" |
||
| Line 1: | Line 1: | ||
{ | { | ||
"$schema": "http://json-schema.org/draft-07/schema#", | |||
"title": "Recursive Object", | |||
"type": "object", | |||
"properties": { | |||
"name": { | |||
"type": "string", | |||
"description": "Name of the node" | |||
}, | |||
"type": { | |||
"type": "string", | |||
"description": "Type or category of the node" | |||
}, | |||
"children": { | |||
"type": "array", | |||
"description": "Nested child nodes of the same structure", | |||
"items": { | |||
"$ref": "#" | |||
} | |||
} | |||
}, | |||
"required": [ | |||
"name", | |||
"type" | |||
], | |||
"additionalProperties": false | |||
} | } | ||
Latest revision as of 18:44, 4 November 2025
| $schema | "http://json-schema.org/draft-07/schema#" | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| title | "Recursive Object" | ||||||||||||||||||||||
| type | "object" | ||||||||||||||||||||||
| properties |
| ||||||||||||||||||||||
| required |
| ||||||||||||||||||||||
| additionalProperties | false |