| type | "object" |
|---|
| title | "DescribedBy" |
|---|
| properties | | propertyName | | type | "string" |
|---|
| title | "Property Name" |
|---|
| description | "The name of the property being sold" |
|---|
| minLength | 5 |
|---|
|
|---|
| propertyType | | type | "string" |
|---|
| title | "Property Type" |
|---|
| enum | |
|---|
|
|---|
| propertyTypeOptions | | type | "object" |
|---|
| title | "Property Options" |
|---|
| x-watch | "propertyType" |
|---|
| links | | rel | "describedBy" |
|---|
| href | "#/definitions/{{propertyType}}" |
|---|
|
|
|---|
|
|---|
|
|---|
| required | | "propertyName" |
| "propertyType" |
|
|---|
| definitions | | house | | title | "House" |
|---|
| properties | | address | | type | "string" |
|---|
| title | "Address" |
|---|
|
|---|
| rooms | | type | "integer" |
|---|
| title | "Number Of Rooms" |
|---|
|
|---|
|
|---|
|
|---|
| car | | title | "Car" |
|---|
| properties | | brand | | type | "string" |
|---|
| title | "Brand" |
|---|
| enum | | "Audi" |
| "BMW" |
| "Chevrolet" |
| "Opel" |
| "Mitsubishi" |
|
|---|
|
|---|
| color | | type | "string" |
|---|
| title | "Color" |
|---|
| x-format | "color" |
|---|
|
|---|
| year | | type | "string" |
|---|
| title | "Build Year" |
|---|
|
|---|
|
|---|
|
|---|
| yacht | | title | "Yacht" |
|---|
| properties | | name | |
|---|
| model | |
|---|
| year | |
|---|
| yachtLength | | type | "integer" |
|---|
| title | "Length" |
|---|
|
|---|
|
|---|
|
|---|
|
|---|