| $schema | "http://json-schema.org/draft-04/schema#" |
|---|
| type | "object" |
|---|
| title | "Bookstore" |
|---|
| x-layout | "paged_" |
|---|
| definitions | | newPropertySchema | | title | "New property" |
|---|
| type | "object" |
|---|
| required | |
|---|
| properties | | name | | title | "Property name" |
|---|
| type | "string" |
|---|
| pattern | "^[a-zA-Z_][a-zA-Z0-9_]*$" |
|---|
| description | "Valid identifier" |
|---|
|
|---|
| type | | title | "type" |
|---|
| type | "string" |
|---|
| description | "Select the type of property" |
|---|
| enum | | "text" |
| "number" |
| "integer" |
| "date" |
| "datetime-local" |
| "time" |
| "boolean" |
| "textarea" |
| "email" |
| "color" |
| "range" |
| "tel" |
| "url" |
| "json" |
|
|---|
| x-input | "RadioSelectInputWidget" |
|---|
| x-enum-titles | | "Text" |
| "Number" |
| "Integer" |
| "Date" |
| "Datetime-local" |
| "Time" |
| "Boolean" |
| "Textarea" |
| "Email" |
| "Color" |
| "Range" |
| "Tel" |
| "Url" |
| "Json" |
|
|---|
|
|---|
| multiple | | title | "multiple" |
|---|
| type | "boolean" |
|---|
| description | "allows multiple values" |
|---|
|
|---|
|
|---|
|
|---|
|
|---|
| properties | | Book | | title | "books" |
|---|
| type | "array" |
|---|
| items | | type | "object" |
|---|
| title | "book" |
|---|
| additionalProperties | true |
|---|
| x-ui-schema | | $ref | "#/definitions/newPropertySchema" |
|---|
|
|---|
| properties | | Title | |
|---|
| Price | |
|---|
| ISBN | |
|---|
| Genre | |
|---|
| Author | | type | "array" |
|---|
| title | "authors" |
|---|
| items | | type | "object" |
|---|
| title | "author" |
|---|
| properties | |
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|
|
|---|