VisualDataSchema:Apartment: Difference between revisions
Created page with "{"wiki":{"type":"schema","name":"Apartment"},"properties":{"country":{"wiki":{"type":"property","name":"country","visibility":"visible","label":"country","multiple-items":false,"preferred-input":"OO.ui.TextInputWidget","input-config":[],"required":true},"type":"string","format":"text","title":"country"},"city":{"wiki":{"type":"property","name":"city","visibility":"visible","label":"city","multiple-items":false,"preferred-input":"OO.ui.TextInputWidget","input-config":[],"..." |
No edit summary |
||
Line 2: | Line 2: | ||
"wiki": { | "wiki": { | ||
"type": "schema", | "type": "schema", | ||
" | "uuid": "683851377750a", | ||
" | "name": "Apartment" | ||
}, | }, | ||
"properties": { | "properties": { | ||
"country": { | "country": { | ||
"wiki": { | "wiki": { | ||
"name": "country", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"required": true, | |||
"label": "country", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"uuid": "683851377750e" | "uuid": "683851377750e" | ||
}, | }, | ||
Line 24: | Line 24: | ||
"city": { | "city": { | ||
"wiki": { | "wiki": { | ||
"name": "city", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"required": true, | |||
"label": "city", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"uuid": "6838513777511" | "uuid": "6838513777511" | ||
}, | }, | ||
Line 40: | Line 40: | ||
"address": { | "address": { | ||
"wiki": { | "wiki": { | ||
"name": "address", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"required": true, | |||
"label": "address", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"uuid": "6838513777513" | "uuid": "6838513777513" | ||
}, | }, | ||
Line 56: | Line 56: | ||
"geolocation": { | "geolocation": { | ||
"wiki": { | "wiki": { | ||
"name": "geolocation", | |||
"title": "geolocation", | |||
"type": "geolocation", | "type": "geolocation", | ||
"label": "geolocation", | "label": "geolocation", | ||
"coordinates": false, | "coordinates": false, | ||
"map": true, | "map": true, | ||
Line 67: | Line 67: | ||
"required": false, | "required": false, | ||
"latitude-input-label": "latitude", | "latitude-input-label": "latitude", | ||
"longitude-input-label": "longitude", | "longitude-input-label": "longitude", | ||
"uuid": "6838513777515" | "uuid": "6838513777515" | ||
}, | }, | ||
Line 86: | Line 84: | ||
"maximum": 90, | "maximum": 90, | ||
"wiki": { | "wiki": { | ||
"uuid": " | "uuid": "6838513777515" | ||
} | } | ||
}, | }, | ||
Line 96: | Line 94: | ||
"maximum": 180, | "maximum": 180, | ||
"wiki": { | "wiki": { | ||
"uuid": " | "uuid": "6838513777515" | ||
} | } | ||
}, | }, | ||
Line 105: | Line 103: | ||
"wiki": { | "wiki": { | ||
"visibility": "hidden", | "visibility": "hidden", | ||
"uuid": " | "uuid": "6838513777515" | ||
} | } | ||
} | } | ||
Line 112: | Line 110: | ||
"bedrooms": { | "bedrooms": { | ||
"wiki": { | "wiki": { | ||
"name": "bedrooms", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"required": true, | |||
"label": "bedrooms", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.NumberInputWidget", | "preferred-input": "OO.ui.NumberInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"uuid": "683851377751d" | "uuid": "683851377751d" | ||
}, | }, | ||
Line 138: | Line 136: | ||
"name": "new_property", | "name": "new_property", | ||
"type": "property", | "type": "property", | ||
"multiple-items": true, | |||
"value-prefix": "File:", | |||
"input-config": { | |||
"accept": [ | |||
"image/svg+xml", | |||
"image/png", | |||
"image/gif", | |||
"image/jpeg", | |||
"image/pjpeg", | |||
"image/jpeg", | |||
"image/pjpeg", | |||
"image/webp", | |||
"application/pdf", | |||
"image/tiff", | |||
"image/x-tiff", | |||
"image/bmp", | |||
"image/x-windows-bmp" | |||
] | |||
}, | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.SelectFileWidget", | "preferred-input": "OO.ui.SelectFileWidget", | ||
"required": false, | "required": false, | ||
"uuid": "6838513777520" | "uuid": "6838513777520" | ||
Line 149: | Line 164: | ||
"type": "array", | "type": "array", | ||
"title": "pictures", | "title": "pictures", | ||
"uniqueItems": false | |||
}, | |||
"facilities": { | |||
"wiki": { | |||
"name": "facilities", | |||
"unique-items": false, | |||
"type": "schema", | |||
"uuid": "683e9d063a8c1" | |||
}, | |||
"items": { | |||
"type": "string", | |||
"wiki": { | |||
"name": "facilities", | |||
"type": "property", | |||
"visibility": "visible", | |||
"label": "facilities", | |||
"multiple-items": true, | |||
"preferred-input": "OO.ui.MenuTagMultiselectWidget", | |||
"input-config": [], | |||
"required": false, | |||
"options-allow-null": false, | |||
"options-wikilist": "Template:Apartment facilities", | |||
"uuid": "683e9d063a8c4" | |||
}, | |||
"format": "text", | |||
"title": "facilities", | |||
"enum": [ | |||
"washing machine", | |||
"wifi", | |||
"central heater" | |||
] | |||
}, | |||
"type": "array", | |||
"uniqueItems": false | "uniqueItems": false | ||
} | } |
Revision as of 06:58, 3 June 2025
wiki |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" |