Ajax: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
Created page with "{ "type": "array", "title": "People", "format": "tabs", "items": { "title": "Person", "headerTemplate": "{{i}} - {{self.name}}", "oneOf": [ { "$ref": "examples/basic_person.json", "title": "Basic Person" }, { "$ref": "examples/person.json", "title": "Complex Person" } ] } }"
 
Admin changed the content model of the page JsonSchema:Ajax from "wikitext" to "JSON"
Line 1: Line 1:
{
{
  "type": "array",
"type": "array",
  "title": "People",
"title": "People",
  "format": "tabs",
"format": "tabs",
  "items": {
"items": {
    "title": "Person",
"title": "Person",
    "headerTemplate": "{{i}} - {{self.name}}",
"headerTemplate": "{{i}} - {{self.name}}",
    "oneOf": [
"oneOf": [
      {
{
        "$ref": "examples/basic_person.json",
"$ref": "examples/basic_person.json",
        "title": "Basic Person"
"title": "Basic Person"
      },
},
      {
{
        "$ref": "examples/person.json",
"$ref": "examples/person.json",
        "title": "Complex Person"
"title": "Complex Person"
      }
}
    ]
]
  }
}
}
}

Revision as of 22:15, 4 November 2025

type"array"
title"People"
format"tabs"
items
title"Person"
headerTemplate"{{i}} - {{self.name}}"
oneOf
$ref"examples/basic_person.json"
title"Basic Person"
$ref"examples/person.json"
title"Complex Person"