Person: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 1: Line 1:
{
{
     "$ref": "JsonSchema:BasicPerson",
     "$ref": "JsonSchema:BasicPerson",
     "additionalProperties": true,
     "type": "object",
    "x-layout": "booklet",
     "properties": {
     "properties": {
         "location": {
         "location": {
Line 49: Line 50:
                         "type": "boolean",
                         "type": "boolean",
                         "title": "spayed \/ neutered",
                         "title": "spayed \/ neutered",
                         "x-input": "checkbox"
                         "x-input": "OO.ui.CheckboxInputWidget"
                     }
                     }
                 }
                 }
Line 63: Line 64:
                 "title": "Car",
                 "title": "Car",
                 "additionalProperties": true,
                 "additionalProperties": true,
                "x-additional-properties-ui": {
                    "label": "New property",
                    "schema": "JsonSchema:MetaSchema\/NewProperty"
                },
                 "properties": {
                 "properties": {
                     "manufacturer": {
                     "manufacturer": {

Latest revision as of 00:00, 15 January 2001

$ref"JsonSchema:BasicPerson"
type"object"
x-layout"booklet"
properties
location
type"object"
title"Location"
properties
city
type"string"
state
type"string"
citystate
type"string"
description"This is generated automatically from the previous two fields"
x-template"{{city}}, {{state}}"
x-watch
"city"
"state"
pets
type"array"
x-layout"table"
title"Pets"
uniqueItemstrue
items
type"object"
properties
type
type"string"
enum
"cat"
"dog"
"bird"
"reptile"
"other"
default"dog"
name
type"string"
fixed
type"boolean"
title"spayed / neutered"
x-input"OO.ui.CheckboxInputWidget"
cars
type"array"
x-layout"tabs"
title"Cars"
uniqueItemsfalse
items
type"object"
title"Car"
additionalPropertiestrue
x-additional-properties-ui
label"New property"
schema"JsonSchema:MetaSchema/NewProperty"
properties
manufacturer
type"string"
model
type"string"