VisualDataSchema:Location: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
"name": { | "name": { | ||
"wiki": { | "wiki": { | ||
"type": "property", | |||
"uuid": "68384da60396e", | |||
"name": "name", | "name": "name", | ||
" | "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", | |||
"uuid": "68384da603972", | |||
"name": "city", | "name": "city", | ||
" | "visibility": "visible", | ||
"label": "city", | |||
"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", | ||
Line 38: | Line 40: | ||
"country": { | "country": { | ||
"wiki": { | "wiki": { | ||
"type": "property", | |||
"uuid": "68384da603975", | |||
"name": "country", | "name": "country", | ||
" | "visibility": "visible", | ||
"label": "country", | |||
"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", | ||
Line 54: | Line 56: | ||
"address": { | "address": { | ||
"wiki": { | "wiki": { | ||
"type": "property", | |||
"uuid": "68384da603978", | |||
"name": "address", | "name": "address", | ||
" | "visibility": "visible", | ||
"label": "address", | |||
"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", | ||
Line 70: | Line 72: | ||
"geolocation": { | "geolocation": { | ||
"wiki": { | "wiki": { | ||
"name": "geolocation", | |||
"title": "geolocation", | |||
"type": "geolocation", | "type": "geolocation", | ||
" | "uuid": "68384dc43d748", | ||
"label": "geolocation", | "label": "geolocation", | ||
"coordinates": false, | "coordinates": false, | ||
"map": true, | "map": true, | ||
"reverse-geocoding": | "reverse-geocoding": true, | ||
"maptiler-map-config": [], | "maptiler-map-config": [], | ||
"maptiler-geocoding-config": [], | "maptiler-geocoding-config": [], | ||
"required": false, | "required": false, | ||
"latitude-input-label": "latitude", | "latitude-input-label": "latitude", | ||
"longitude-input-label": "longitude" | |||
"longitude-input-label": "longitude | |||
}, | }, | ||
"$id": "https://example.com/geographical-location.schema.json", | "$id": "https://example.com/geographical-location.schema.json", | ||
Line 100: | Line 100: | ||
"maximum": 90, | "maximum": 90, | ||
"wiki": { | "wiki": { | ||
"uuid": " | "uuid": "68384dc43d748" | ||
} | } | ||
}, | }, | ||
Line 110: | Line 110: | ||
"maximum": 180, | "maximum": 180, | ||
"wiki": { | "wiki": { | ||
"uuid": " | "uuid": "68384dc43d748" | ||
} | } | ||
}, | }, | ||
Line 119: | Line 119: | ||
"wiki": { | "wiki": { | ||
"visibility": "hidden", | "visibility": "hidden", | ||
"uuid": " | "uuid": "68384dc43d748" | ||
} | } | ||
} | } | ||
Line 130: | Line 130: | ||
"multiple-items": false, | "multiple-items": false, | ||
"label": "organization", | "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 139: | 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": { | "description": { | ||
Line 193: | Line 180: | ||
} | } | ||
}, | }, | ||
"required": [ | |||
"name", | |||
"city", | |||
"country", | |||
"address" | |||
], | |||
"type": "object" | "type": "object" | ||
} | } |
Revision as of 12:08, 29 May 2025
wiki |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" |