VisualDataSchema:Location: Difference between revisions

From Wikiyouth
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",
"name": "Location",
"uuid": "68384da603969",
"uuid": "68384da605240"
"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": false,
"required": true
"uuid": "68384da605243"
},
},
"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": false,
"required": true
"uuid": "68384da605247"
},
},
"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": false,
"required": true
"uuid": "68384da60524a"
},
},
"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": false,
"required": true
"uuid": "68384da60524c"
},
},
"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",
"name": "organization",
"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",
"label": "organization",
"multiple-items": false,
"preferred-input": "LookupElement",
"preferred-input": "LookupElement",
"input-config": [],
"input-config": [],
"required": false,
"options-query": "[[name::+]]",
"options-query": "[[name::+]]",
"query-schema": "Organization",
"query-schema": "Organization",
Line 83: Line 140:
"name"
"name"
],
],
"uuid": "68384da60524e"
"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"
},
},
"has_quality_label": {
"description": {
"wiki": {
"wiki": {
"name": "description",
"type": "property",
"type": "property",
"name": "has_quality_label",
"visibility": "visible",
"label": "has quality label",
"multiple-items": false,
"multiple-items": false,
"preferred-input": "OO.ui.ToggleSwitchWidget",
"label": "description",
"input-config": [],
"required": false,
"uuid": "68384da605251"
},
"type": "boolean",
"title": "has quality label"
},
"description": {
"wiki": {
"type": "property",
"name": "description",
"visibility": "visible",
"visibility": "visible",
"label": "description",
"multiple-items": false,
"preferred-input": "OO.ui.MultilineTextInputWidget",
"preferred-input": "OO.ui.MultilineTextInputWidget",
"input-config": [],
"input-config": [],
"required": false,
"required": false,
"uuid": "68384da605253"
"uuid": "68384da60397f"
},
},
"type": "string",
"type": "string",
Line 122: Line 165:
"notes": {
"notes": {
"wiki": {
"wiki": {
"name": "notes",
"type": "property",
"type": "property",
"name": "notes",
"multiple-items": false,
"label": "notes",
"visibility": "visible",
"visibility": "visible",
"label": "notes",
"multiple-items": false,
"preferred-input": "OO.ui.MultilineTextInputWidget",
"preferred-input": "OO.ui.MultilineTextInputWidget",
"input-config": [],
"input-config": [],
"required": false,
"required": false,
"uuid": "68384da605255"
"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
type"schema"
uuid"68384da603969"
name"Location"
properties
name
wiki
type"property"
uuid"68384da60396e"
name"name"
visibility"visible"
label"name / identifier"
multiple-itemsfalse
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredtrue
type"string"
format"text"
title"name / identifier"
city
wiki
type"property"
uuid"68384da603972"
name"city"
visibility"visible"
label"city"
multiple-itemsfalse
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredtrue
type"string"
format"text"
title"city"
country
wiki
type"property"
uuid"68384da603975"
name"country"
visibility"visible"
label"country"
multiple-itemsfalse
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredtrue
type"string"
format"text"
title"country"
address
wiki
type"property"
uuid"68384da603978"
name"address"
visibility"visible"
label"address"
multiple-itemsfalse
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredtrue
type"string"
format"text"
title"address"
geolocation
wiki
name"geolocation"
title"geolocation"
type"geolocation"
uuid"68384dc43d748"
label"geolocation"
coordinatesfalse
maptrue
reverse-geocodingtrue
maptiler-map-config
Empty array
maptiler-geocoding-config
Empty array
requiredfalse
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
Empty array
type"object"
properties
latitude
title"latitude"
description""
type"number"
minimum-90
maximum90
wiki
uuid"68384dc43d748"
longitude
title"longitude"
description""
type"number"
minimum-180
maximum180
wiki
uuid"68384dc43d748"
zoom
type"number"
minimum0
maximum24
wiki
visibility"hidden"
uuid"68384dc43d748"
organization
wiki
name"organization"
type"property"
multiple-itemsfalse
label"organization"
help-message"only if a registered organization, otherwise add details in the description or notes"
uuid"68384da60397a"
visibility"visible"
preferred-input"LookupElement"
input-config
Empty array
options-query"[[name::+]]"
query-schema"Organization"
query-printouts
"name"
requiredfalse
type"string"
format"text"
title"organization"
description"only if a registered organization, otherwise add details in the description or notes"
description
wiki
name"description"
type"property"
multiple-itemsfalse
label"description"
visibility"visible"
preferred-input"OO.ui.MultilineTextInputWidget"
input-config
Empty array
requiredfalse
uuid"68384da60397f"
type"string"
format"textarea"
title"description"
notes
wiki
name"notes"
type"property"
multiple-itemsfalse
label"notes"
visibility"visible"
preferred-input"OO.ui.MultilineTextInputWidget"
input-config
Empty array
requiredfalse
uuid"68384da603981"
type"string"
format"textarea"
title"notes"
required
"name"
"city"
"country"
"address"
type"object"