VisualDataSchema:Location: Difference between revisions
Created page with "{"wiki":{"type":"schema","name":"Location"},"properties":{"name":{"wiki":{"type":"property","name":"name","visibility":"visible","multiple-items":false,"preferred-input":"OO.ui.TextInputWidget","input-config":[],"required":false},"type":"string","format":"text"},"city":{"wiki":{"type":"property","name":"city","visibility":"visible","label":"city","multiple-items":false,"preferred-input":"OO.ui.TextInputWidget","input-config":[],"required":false},"type":"string","format":..." |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
"wiki": { | "wiki": { | ||
"type": "schema", | "type": "schema", | ||
" | "uuid": "68384da603969", | ||
" | "name": "Location" | ||
}, | }, | ||
"properties": { | "properties": { | ||
Line 9: | Line 9: | ||
"wiki": { | "wiki": { | ||
"type": "property", | "type": "property", | ||
"uuid": "68384da60396e", | |||
"name": "name", | "name": "name", | ||
"visibility": "visible", | "visibility": "visible", | ||
"label": "name / identifier", | |||
"multiple-items": false, | "multiple-items": false, | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"required": | "required": true | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
"format": "text" | "format": "text", | ||
"title": "name / identifier" | |||
}, | }, | ||
"city": { | "city": { | ||
"wiki": { | "wiki": { | ||
"type": "property", | "type": "property", | ||
"uuid": "68384da603972", | |||
"name": "city", | "name": "city", | ||
"visibility": "visible", | "visibility": "visible", | ||
Line 29: | Line 32: | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"required": | "required": true | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 39: | Line 41: | ||
"wiki": { | "wiki": { | ||
"type": "property", | "type": "property", | ||
"uuid": "68384da603975", | |||
"name": "country", | "name": "country", | ||
"visibility": "visible", | "visibility": "visible", | ||
Line 45: | Line 48: | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"required": | "required": true | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 55: | Line 57: | ||
"wiki": { | "wiki": { | ||
"type": "property", | "type": "property", | ||
"uuid": "68384da603978", | |||
"name": "address", | "name": "address", | ||
"visibility": "visible", | "visibility": "visible", | ||
Line 61: | Line 64: | ||
"preferred-input": "OO.ui.TextInputWidget", | "preferred-input": "OO.ui.TextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"required": | "required": true | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
"format": "text", | "format": "text", | ||
"title": "address" | "title": "address" | ||
}, | |||
"geolocation": { | |||
"wiki": { | |||
"name": "geolocation", | |||
"title": "geolocation", | |||
"type": "geolocation", | |||
"uuid": "68384dc43d748", | |||
"label": "geolocation", | |||
"coordinates": false, | |||
"map": true, | |||
"reverse-geocoding": true, | |||
"maptiler-map-config": [], | |||
"maptiler-geocoding-config": [], | |||
"required": false, | |||
"latitude-input-label": "latitude", | |||
"longitude-input-label": "longitude" | |||
}, | |||
"$id": "https://example.com/geographical-location.schema.json", | |||
"$schema": "https://json-schema.org/draft/2020-12/schema", | |||
"title": "geolocation", | |||
"description": "", | |||
"required": [], | |||
"type": "object", | |||
"properties": { | |||
"latitude": { | |||
"title": "latitude", | |||
"description": "", | |||
"type": "number", | |||
"minimum": -90, | |||
"maximum": 90, | |||
"wiki": { | |||
"uuid": "68384dc43d748" | |||
} | |||
}, | |||
"longitude": { | |||
"title": "longitude", | |||
"description": "", | |||
"type": "number", | |||
"minimum": -180, | |||
"maximum": 180, | |||
"wiki": { | |||
"uuid": "68384dc43d748" | |||
} | |||
}, | |||
"zoom": { | |||
"type": "number", | |||
"minimum": 0, | |||
"maximum": 24, | |||
"wiki": { | |||
"visibility": "hidden", | |||
"uuid": "68384dc43d748" | |||
} | |||
} | |||
} | |||
}, | }, | ||
"organization": { | "organization": { | ||
"wiki": { | "wiki": { | ||
"name": "organization", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"label": "organization", | |||
"help-message": "only if a registered organization, otherwise add details in the description or notes", | |||
"uuid": "68384da60397a", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "LookupElement", | "preferred-input": "LookupElement", | ||
"input-config": [], | "input-config": [], | ||
"options-query": "[[name::+]]", | "options-query": "[[name::+]]", | ||
"query-schema": "Organization", | "query-schema": "Organization", | ||
Line 83: | Line 140: | ||
"name" | "name" | ||
], | ], | ||
" | "required": false | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
"format": "text", | "format": "text", | ||
"title": "organization" | "title": "organization", | ||
"description": "only if a registered organization, otherwise add details in the description or notes" | |||
}, | }, | ||
" | "description": { | ||
"wiki": { | "wiki": { | ||
"name": "description", | |||
"type": "property", | "type": "property", | ||
"multiple-items": false, | "multiple-items": false, | ||
" | "label": "description", | ||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.MultilineTextInputWidget", | "preferred-input": "OO.ui.MultilineTextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"required": false, | "required": false, | ||
"uuid": " | "uuid": "68384da60397f" | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 122: | Line 165: | ||
"notes": { | "notes": { | ||
"wiki": { | "wiki": { | ||
"name": "notes", | |||
"type": "property", | "type": "property", | ||
" | "multiple-items": false, | ||
"label": "notes", | |||
"visibility": "visible", | "visibility": "visible", | ||
"preferred-input": "OO.ui.MultilineTextInputWidget", | "preferred-input": "OO.ui.MultilineTextInputWidget", | ||
"input-config": [], | "input-config": [], | ||
"required": false, | "required": false, | ||
"uuid": " | "uuid": "68384da603981" | ||
}, | }, | ||
"type": "string", | "type": "string", | ||
Line 137: | Line 180: | ||
} | } | ||
}, | }, | ||
"required": [ | |||
"name", | |||
"city", | |||
"country", | |||
"address" | |||
], | |||
"type": "object" | "type": "object" | ||
} | } |
Revision as of 12:08, 29 May 2025
wiki |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" |