Bookstore: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
"type": "object", | "type": "object", | ||
"title": "Bookstore", | "title": "Bookstore", | ||
"definitions": { | "definitions": { | ||
"newPropertySchema": { | "newPropertySchema": { | ||
| Line 40: | Line 39: | ||
"json" | "json" | ||
], | ], | ||
"x-input": "RadioSelectInputWidget", | "x-input": "OO.ui.RadioSelectInputWidget", | ||
"x-enum-titles": [ | "x-enum-titles": [ | ||
"Text", | "Text", | ||
| Line 70: | Line 69: | ||
"title": "books", | "title": "books", | ||
"type": "array", | "type": "array", | ||
"x-layout": "tabs", | |||
"items": { | "items": { | ||
"type": "object", | "type": "object", | ||
"title": "book", | "title": "book", | ||
"additionalProperties": true, | "additionalProperties": true, | ||
"x-ui | "x-additional-properties-ui": { | ||
"schema": { | |||
"$ref": "#\/definitions\/newPropertySchema" | |||
}, | |||
"name": "NewProperty", | |||
"label": "New property" | |||
}, | }, | ||
"properties": { | "properties": { | ||
"Title": { | "Title": { | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"Author": { | "Author": { | ||
"type": "array", | "type": "array", | ||
"title": " | "title": "", | ||
"x-layout": "booklet", | |||
"x-collapsible": true, | |||
"items": { | "items": { | ||
"type": "object", | "type": "object", | ||
| Line 105: | Line 102: | ||
} | } | ||
} | } | ||
}, | |||
"Price": { | |||
"type": "number" | |||
}, | |||
"ISBN": { | |||
"type": "string" | |||
}, | |||
"Genre": { | |||
"type": "string" | |||
} | } | ||
} | } | ||
Latest revision as of 00:00, 15 January 2001
| $schema | "http://json-schema.org/draft-04/schema#" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| type | "object" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| title | "Bookstore" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| definitions |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| properties |
|