Recursive simple: Difference between revisions

From Wikisphere
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..."
(No difference)

Revision as of 18:44, 4 November 2025

{

 "$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

}