Recursive: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{ | { | ||
"$ref": "#\/definitions\/person", | "$ref": "#\/definitions\/person", | ||
"type": "object", | |||
"title": "Person", | |||
"x-layout": "paged", | "x-layout": "paged", | ||
"definitions": { | "definitions": { | ||
"person": { | "person": { | ||
"type": "object", | "type": "object", | ||
"id": "person", | "id": "person", | ||
| Line 14: | Line 15: | ||
"patternProperties": { | "patternProperties": { | ||
"^cousin_[0-9]+$": { | "^cousin_[0-9]+$": { | ||
"$ref": "#\/definitions\/person" | "title": "Cousin", | ||
"$ref": "#\/definitions\/person", | |||
"type": "object" | |||
} | } | ||
}, | }, | ||
| Line 28: | Line 31: | ||
"bestFriend": { | "bestFriend": { | ||
"title": "best friend", | "title": "best friend", | ||
" | "x-input": "OO.ui.ButtonSelectWidget", | ||
"oneOf": [ | "oneOf": [ | ||
{ | { | ||
| Line 40: | Line 39: | ||
{ | { | ||
"title": "person", | "title": "person", | ||
"$ref": "#\/definitions\/person" | "$ref": "#\/definitions\/person", | ||
"type": "object" | |||
} | } | ||
] | ] | ||
| Line 48: | Line 48: | ||
"items": { | "items": { | ||
"title": "Coworker", | "title": "Coworker", | ||
"$ref": "#\/definitions\/person" | "$ref": "#\/definitions\/person", | ||
"type": "object" | |||
} | } | ||
}, | }, | ||
"mother": { | "mother": { | ||
"title": "mother", | "title": "mother", | ||
"$ref": "#\/definitions\/person" | "$ref": "#\/definitions\/person", | ||
"type": "object" | |||
} | } | ||
} | } | ||
Latest revision as of 00:00, 15 January 2001
| $ref | "#/definitions/person" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| type | "object" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| title | "Person" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| x-layout | "paged" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| definitions |
|