VisualDataSchema:Organization: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{ | { | ||
"wiki": { | |||
"type": "schema", | |||
"uuid": "6634e383d6bcd", | |||
"name": "Organization" | |||
}, | |||
"properties": { | |||
"name": { | |||
"wiki": { | |||
"name": "name", | |||
"type": "property", | |||
"multiple-items": false, | |||
"required": true, | |||
"label": "Name", | |||
"label-parsed": "Name", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.TextInputWidget", | |||
"input-config": [], | |||
"uuid": "6634e383d6bd1" | |||
}, | |||
"type": "string", | |||
"format": "text", | |||
"title": "Name" | |||
}, | |||
"logo": { | |||
"wiki": { | |||
"name": "logo", | |||
"type": "property", | |||
"multiple-items": false, | |||
"input-config": { | |||
"accept": [ | |||
"image/svg+xml", | |||
"image/png", | |||
"image/gif", | |||
"image/jpeg", | |||
"image/pjpeg", | |||
"image/jpeg", | |||
"image/pjpeg", | |||
"image/webp", | |||
"application/pdf", | |||
"image/tiff", | |||
"image/x-tiff", | |||
"image/bmp", | |||
"image/x-windows-bmp" | |||
] | |||
}, | |||
"label": "Logo", | |||
"value-prefix": "File:", | |||
"label-parsed": "Logo", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.SelectFileWidget", | |||
"required": false, | |||
"uuid": "6634e383d6bd5" | |||
}, | |||
"type": "string", | |||
"format": "text", | |||
"title": "Logo" | |||
}, | |||
"country": { | |||
"wiki": { | |||
"type": "property", | |||
"uuid": "6634e383d6bd9", | |||
"name": "country", | |||
"visibility": "visible", | |||
"label": "Country", | |||
"multiple-items": false, | |||
"preferred-input": "OO.ui.DropdownInputWidget", | |||
"input-config": [], | |||
"required": true, | |||
"options-allow-null": true, | |||
"options-wikilist": "Template:Countries" | |||
}, | |||
"type": "string", | |||
"format": "text", | |||
"title": "Country", | |||
"enum": [ | |||
"", | |||
"Afghanistan", | |||
"Aland Islands", | |||
"Albania", | |||
"Algeria", | |||
"American Samoa", | |||
"Andorra", | |||
"Angola", | |||
"Anguilla", | |||
"Antarctica", | |||
"Antigua And Barbuda", | |||
"Argentina", | |||
"Armenia", | |||
"Aruba", | |||
"Australia", | |||
"Austria", | |||
"Azerbaijan", | |||
"Bahrain", | |||
"Bangladesh", | |||
"Barbados", | |||
"Belarus", | |||
"Belgium", | |||
"Belize", | |||
"Benin", | |||
"Bermuda", | |||
"Bhutan", | |||
"Bolivia", | |||
"Bonaire, Sint Eustatius and Saba", | |||
"Bosnia and Herzegovina", | |||
"Botswana", | |||
"Bouvet Island", | |||
"Brazil", | |||
"British Indian Ocean Territory", | |||
"Brunei", | |||
"Bulgaria", | |||
"Burkina Faso", | |||
"Burundi", | |||
"Cambodia", | |||
"Cameroon", | |||
"Canada", | |||
"Cape Verde", | |||
"Cayman Islands", | |||
"Central African Republic", | |||
"Chad", | |||
"Chile", | |||
"China", | |||
"Christmas Island", | |||
"Cocos (Keeling) Islands", | |||
"Colombia", | |||
"Comoros", | |||
"Congo", | |||
"Cook Islands", | |||
"Costa Rica", | |||
"Cote D'Ivoire (Ivory Coast)", | |||
"Croatia", | |||
"Cuba", | |||
"Curaçao", | |||
"Cyprus", | |||
"Czech Republic", | |||
"Democratic Republic of the Congo", | |||
"Denmark", | |||
"Djibouti", | |||
"Dominica", | |||
"Dominican Republic", | |||
"East Timor", | |||
"Ecuador", | |||
"Egypt", | |||
"El Salvador", | |||
"Equatorial Guinea", | |||
"Eritrea", | |||
"Estonia", | |||
"Ethiopia", | |||
"Falkland Islands", | |||
"Faroe Islands", | |||
"Fiji Islands", | |||
"Finland", | |||
"France", | |||
"French Guiana", | |||
"French Polynesia", | |||
"French Southern Territories", | |||
"Gabon", | |||
"Gambia The", | |||
"Georgia", | |||
"Germany", | |||
"Ghana", | |||
"Gibraltar", | |||
"Greece", | |||
"Greenland", | |||
"Grenada", | |||
"Guadeloupe", | |||
"Guam", | |||
"Guatemala", | |||
"Guernsey and Alderney", | |||
"Guinea", | |||
"Guinea-Bissau", | |||
"Guyana", | |||
"Haiti", | |||
"Heard Island and McDonald Islands", | |||
"Honduras", | |||
"Hong Kong S.A.R.", | |||
"Hungary", | |||
"Iceland", | |||
"India", | |||
"Indonesia", | |||
"Iran", | |||
"Iraq", | |||
"Ireland", | |||
"Israel", | |||
"Italy", | |||
"Jamaica", | |||
"Japan", | |||
"Jersey", | |||
"Jordan", | |||
"Kazakhstan", | |||
"Kenya", | |||
"Kiribati", | |||
"Kosovo", | |||
"Kuwait", | |||
"Kyrgyzstan", | |||
"Laos", | |||
"Latvia", | |||
"Lebanon", | |||
"Lesotho", | |||
"Liberia", | |||
"Libya", | |||
"Liechtenstein", | |||
"Lithuania", | |||
"Luxembourg", | |||
"Macau S.A.R.", | |||
"Madagascar", | |||
"Malawi", | |||
"Malaysia", | |||
"Maldives", | |||
"Mali", | |||
"Malta", | |||
"Man (Isle of)", | |||
"Marshall Islands", | |||
"Martinique", | |||
"Mauritania", | |||
"Mauritius", | |||
"Mayotte", | |||
"Mexico", | |||
"Micronesia", | |||
"Moldova", | |||
"Monaco", | |||
"Mongolia", | |||
"Montenegro", | |||
"Montserrat", | |||
"Morocco", | |||
"Mozambique", | |||
"Myanmar", | |||
"Namibia", | |||
"Nauru", | |||
"Nepal", | |||
"Netherlands", | |||
"New Caledonia", | |||
"New Zealand", | |||
"Nicaragua", | |||
"Niger", | |||
"Nigeria", | |||
"Niue", | |||
"Norfolk Island", | |||
"North Korea", | |||
"North Macedonia", | |||
"Northern Mariana Islands", | |||
"Norway", | |||
"Oman", | |||
"Pakistan", | |||
"Palau", | |||
"Palestinian Territory Occupied", | |||
"Panama", | |||
"Papua new Guinea", | |||
"Paraguay", | |||
"Peru", | |||
"Philippines", | |||
"Pitcairn Island", | |||
"Poland", | |||
"Portugal", | |||
"Puerto Rico", | |||
"Qatar", | |||
"Reunion", | |||
"Romania", | |||
"Russia", | |||
"Rwanda", | |||
"Saint Helena", | |||
"Saint Kitts And Nevis", | |||
"Saint Lucia", | |||
"Saint Pierre and Miquelon", | |||
"Saint Vincent And The Grenadines", | |||
"Saint-Barthelemy", | |||
"Saint-Martin (French part)", | |||
"Samoa", | |||
"San Marino", | |||
"Sao Tome and Principe", | |||
"Saudi Arabia", | |||
"Senegal", | |||
"Serbia", | |||
"Seychelles", | |||
"Sierra Leone", | |||
"Singapore", | |||
"Sint Maarten (Dutch part)", | |||
"Slovakia", | |||
"Slovenia", | |||
"Solomon Islands", | |||
"Somalia", | |||
"South Africa", | |||
"South Georgia", | |||
"South Korea", | |||
"South Sudan", | |||
"Spain", | |||
"Sri Lanka", | |||
"Sudan", | |||
"Suriname", | |||
"Svalbard And Jan Mayen Islands", | |||
"Swaziland", | |||
"Sweden", | |||
"Switzerland", | |||
"Syria", | |||
"Taiwan", | |||
"Tajikistan", | |||
"Tanzania", | |||
"Thailand", | |||
"The Bahamas", | |||
"Togo", | |||
"Tokelau", | |||
"Tonga", | |||
"Trinidad And Tobago", | |||
"Tunisia", | |||
"Turkey", | |||
"Turkmenistan", | |||
"Turks And Caicos Islands", | |||
"Tuvalu", | |||
"Uganda", | |||
"Ukraine", | |||
"United Arab Emirates", | |||
"United Kingdom", | |||
"United States", | |||
"United States Minor Outlying Islands", | |||
"Uruguay", | |||
"Uzbekistan", | |||
"Vanuatu", | |||
"Vatican City State (Holy See)", | |||
"Venezuela", | |||
"Vietnam", | |||
"Virgin Islands (British)", | |||
"Virgin Islands (US)", | |||
"Wallis And Futuna Islands", | |||
"Western Sahara", | |||
"Yemen", | |||
"Zambia", | |||
"Zimbabwe" | |||
] | |||
}, | |||
"city": { | |||
"wiki": { | |||
"name": "city", | |||
"type": "property", | |||
"multiple-items": false, | |||
"required": true, | |||
"label": "City", | |||
"label-parsed": "City", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.TextInputWidget", | |||
"input-config": [], | |||
"uuid": "6634e383d6bdb" | |||
}, | |||
"type": "string", | |||
"format": "text", | |||
"title": "City" | |||
}, | |||
"address": { | |||
"wiki": { | |||
"name": "address", | |||
"type": "property", | |||
"multiple-items": false, | |||
"required": true, | |||
"label": "Address", | |||
"label-parsed": "Address", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.TextInputWidget", | |||
"input-config": [], | |||
"uuid": "6634e383d6bdd" | |||
}, | |||
"type": "string", | |||
"format": "text", | |||
"title": "Address" | |||
}, | |||
"geolocation": { | |||
"wiki": { | |||
"name": "geolocation", | |||
"title": "geolocation", | |||
"description": "Please zoom and drag the marker to your headquarters location", | |||
"type": "geolocation", | |||
"label": "geolocation", | |||
"help-message": "Please zoom and drag the marker to your headquarters location", | |||
"coordinates": true, | |||
"map": true, | |||
"reverse-geocoding": true, | |||
"maptiler-map-config": [], | |||
"maptiler-geocoding-config": [], | |||
"latitude-input-label": "latitude", | |||
"longitude-input-label": "longitude", | |||
"uuid": "6634e383d6bdf" | |||
}, | |||
"$id": "https://example.com/geographical-location.schema.json", | |||
"$schema": "https://json-schema.org/draft/2020-12/schema", | |||
"title": "geolocation", | |||
"description": "Please zoom and drag the marker to your headquarters location", | |||
"required": [], | |||
"type": "object", | |||
"properties": { | |||
"latitude": { | |||
"title": "latitude", | |||
"description": "", | |||
"type": "number", | |||
"minimum": -90, | |||
"maximum": 90, | |||
"wiki": { | |||
"uuid": "6634e383d6bdf" | |||
} | |||
}, | |||
"longitude": { | |||
"title": "longitude", | |||
"description": "", | |||
"type": "number", | |||
"minimum": -180, | |||
"maximum": 180, | |||
"wiki": { | |||
"uuid": "6634e383d6bdf" | |||
} | |||
}, | |||
"zoom": { | |||
"type": "number", | |||
"minimum": 0, | |||
"maximum": 24, | |||
"wiki": { | |||
"visibility": "hidden", | |||
"uuid": "6634e383d6bdf" | |||
} | |||
} | |||
} | |||
}, | |||
"email": { | |||
"wiki": { | |||
"name": "email", | |||
"type": "property", | |||
"multiple-items": false, | |||
"required": true, | |||
"label": "Email", | |||
"label-parsed": "Email", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.TextInputWidget (email)", | |||
"input-config": [], | |||
"uuid": "6634e383d6be9" | |||
}, | |||
"type": "string", | |||
"format": "email", | |||
"title": "Email" | |||
}, | |||
"website": { | |||
"wiki": { | |||
"name": "website", | |||
"type": "property", | |||
"multiple-items": false, | |||
"label": "Official website", | |||
"label-parsed": "Official website", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.TextInputWidget (url)", | |||
"input-config": [], | |||
"required": false, | |||
"uuid": "6634e383d6beb" | |||
}, | |||
"type": "string", | |||
"format": "url", | |||
"title": "Official website" | |||
}, | |||
"foundation_year": { | |||
"wiki": { | |||
"name": "foundation_year", | |||
"type": "property", | |||
"multiple-items": false, | |||
"label": "Foundation year", | |||
"label-parsed": "Foundation year", | |||
"visibility": "visible", | |||
"preferred-input": "OO.ui.NumberInputWidget", | |||
"input-config": [], | |||
"required": false, | |||
"uuid": "6634e383d6bed" | |||
}, | |||
"type": "integer", | |||
"title": "Foundation year" | |||
} | |||
}, | |||
"required": [ | |||
"name", | |||
"country", | |||
"city", | |||
"address", | |||
"email" | |||
], | |||
"type": "object" | |||
} | } |
Latest revision as of 15:42, 8 July 2025
wiki |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" |