|
|
Line 315: |
Line 315: |
| "format": "text", | | "format": "text", |
| "title": "City" | | "title": "City" |
| },
| |
| "geolocation": {
| |
| "wiki": {
| |
| "type": "geolocation",
| |
| "name": "geolocation",
| |
| "label": "geolocation",
| |
| "help-message": "",
| |
| "coordinates": true,
| |
| "map": true,
| |
| "reverse-geocoding": true,
| |
| "maptiler-map-config": [],
| |
| "maptiler-geocoding-config": [],
| |
| "latitude-input-label": "latitude",
| |
| "latitude-input-help": "",
| |
| "longitude-input-label": "longitude",
| |
| "longitude-input-help": ""
| |
| },
| |
| "$id": "https://example.com/geographical-location.schema.json",
| |
| "$schema": "https://json-schema.org/draft/2020-12/schema",
| |
| "title": "geolocation",
| |
| "description": "",
| |
| "required": [
| |
| "latitude",
| |
| "longitude"
| |
| ],
| |
| "type": "object",
| |
| "properties": {
| |
| "latitude": {
| |
| "title": "latitude",
| |
| "description": "",
| |
| "type": "number",
| |
| "minimum": -90,
| |
| "maximum": 90
| |
| },
| |
| "longitude": {
| |
| "title": "longitude",
| |
| "description": "",
| |
| "type": "number",
| |
| "minimum": -180,
| |
| "maximum": 180
| |
| },
| |
| "zoom": {
| |
| "type": "number",
| |
| "minimum": 0,
| |
| "maximum": 24,
| |
| "wiki": {
| |
| "visibility": "hidden"
| |
| }
| |
| }
| |
| }
| |
| } | | } |
| }, | | }, |