VisualDataSchema:Location: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
"name": { | "name": { | ||
"wiki": { | "wiki": { | ||
"type": "property", | "type": "property", | ||
"uuid": "68384da60396e", | "uuid": "68384da60396e", | ||
"name": "name", | |||
"visibility": "visible", | "visibility": "visible", | ||
"label": "name / identifier", | |||
"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 24: | Line 24: | ||
"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 40: | 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 56: | 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 72: | Line 72: | ||
"geolocation": { | "geolocation": { | ||
"wiki": { | "wiki": { | ||
"name": "geolocation", | |||
"title": "geolocation", | |||
"type": "geolocation", | "type": "geolocation", | ||
"uuid": "68384dc43d748", | "uuid": "68384dc43d748", | ||
"label": "geolocation", | "label": "geolocation", | ||
"coordinates": false, | "coordinates": false, | ||
"map": true, | "map": true, | ||
Line 84: | Line 84: | ||
"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 132: | 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 141: | 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 195: | Line 180: | ||
} | } | ||
}, | }, | ||
"required": [ | |||
"name", | |||
"city", | |||
"country", | |||
"address" | |||
], | |||
"type": "object" | "type": "object" | ||
} | } |
Revision as of 12:08, 29 May 2025
wiki |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" |