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..."
 
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#",
"$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Recursive Object",
"title": "Recursive Object",
  "type": "object",
"type": "object",
  "properties": {
"properties": {
    "name": {
"name": {
      "type": "string",
"type": "string",
      "description": "Name of the node"
"description": "Name of the node"
    },
},
    "type": {
"type": {
      "type": "string",
"type": "string",
      "description": "Type or category of the node"
"description": "Type or category of the node"
    },
},
    "children": {
"children": {
      "type": "array",
"type": "array",
      "description": "Nested child nodes of the same structure",
"description": "Nested child nodes of the same structure",
      "items": {
"items": {
        "$ref": "#"
"$ref": "#"
      }
}
    }
}
  },
},
  "required": ["name", "type"],
"required": [
  "additionalProperties": false
"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
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"
additionalPropertiesfalse