VisualDataSchema:Experience: Difference between revisions

From Wikiyouth
No edit summary
No edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 7: Line 7:
},
},
"properties": {
"properties": {
"name": {
"person": {
"wiki": {
"wiki": {
"name": "name",
"name": "person",
"type": "property",
"type": "property",
"multiple-items": false,
"multiple-items": false,
"required": true,
"required": true,
"label": "Name",
"label": "person",
"label-parsed": "Name",
"help-message": "a person created through the [[Add person]] form",
"visibility": "visible",
"uuid": "67cb2e26a3e56",
"preferred-input": "OO.ui.TextInputWidget",
"input-config": [],
"uuid": "6600886b68296"
},
"type": "string",
"format": "text",
"title": "Name"
},
"country": {
"wiki": {
"type": "property",
"uuid": "6600886b68299",
"name": "country",
"visibility": "visible",
"label": "Country",
"help-message": "Please, select the country where your activity took place.",
"multiple-items": false,
"preferred-input": "OO.ui.DropdownInputWidget",
"input-config": [],
"options-allow-null": true,
"options-wikilist": "Template:Countries",
"required": true
},
"type": "string",
"format": "text",
"title": "Country",
"description": "Please, select the country where your activity took place.",
"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"
]
},
"age": {
"wiki": {
"name": "age",
"type": "property",
"multiple-items": false,
"label": "Age",
"label-parsed": "Age",
"visibility": "visible",
"preferred-input": "OO.ui.NumberInputWidget",
"input-config": [],
"required": false,
"uuid": "6600886b682a5"
},
"type": "integer",
"title": "Age"
},
"profession": {
"wiki": {
"name": "profession",
"type": "property",
"multiple-items": false,
"label": "Profession",
"label-parsed": "Profession",
"visibility": "visible",
"preferred-input": "OO.ui.TextInputWidget",
"input-config": [],
"required": false,
"uuid": "6600886b682a7"
},
"type": "string",
"format": "text",
"title": "Profession"
},
"project": {
"wiki": {
"name": "project",
"type": "property",
"multiple-items": false,
"required": true,
"label": "Project",
"help-message": "Please enter the name of the project. You could ask other volunteers or project coordinators if you aren't sure",
"label-parsed": "Project",
"help-message-parsed": "Please enter the name of the project. You could ask other volunteers or project coordinators if you aren't sure",
"visibility": "visible",
"visibility": "visible",
"preferred-input": "LookupElement",
"preferred-input": "LookupElement",
"input-config": [],
"input-config": [],
"options-query": "[[name::+]]",
"options-query": "[[name::\u003Cvalue\u003E~]]",
"query-schema": "Project",
"query-schema": "Person",
"query-printouts": [
"query-printouts": [
"name"
"name"
],
]
"uuid": "6600886b682a9"
},
"type": "string",
"format": "text",
"title": "Project",
"description": "Please enter the name of the project. You could ask other volunteers or project coordinators if you aren't sure"
},
"activity": {
"wiki": {
"name": "activity",
"type": "property",
"multiple-items": false,
"label": "Activity",
"label-parsed": "Activity",
"visibility": "visible",
"preferred-input": "OO.ui.TextInputWidget",
"input-config": [],
"required": false,
"uuid": "6600886b682ab"
},
},
"type": "string",
"type": "string",
"format": "text",
"format": "text",
"title": "Activity"
"title": "person",
"description": "a person created through the \u003Ca href=\"/wiki/Add_person\" title=\"Add person\"\u003EAdd person\u003C/a\u003E form"
},
},
"testimony": {
"testimony": {
Line 377: Line 35:
"type": "property",
"type": "property",
"multiple-items": false,
"multiple-items": false,
"required": true,
"label": "Testimony",
"label": "Testimony",
"help-message": "Please, describe your experience.",
"help-message": "Please, describe your experience.",
"label-parsed": "Testimony",
"help-message-parsed": "Please, describe your experience.",
"uuid": "6600886b682ad",
"uuid": "6600886b682ad",
"visibility": "visible",
"visibility": "visible",
"preferred-input": "OO.ui.MultilineTextInputWidget",
"preferred-input": "OO.ui.MultilineTextInputWidget",
"input-config": [],
"input-config": []
"required": false
},
},
"type": "string",
"type": "string",
Line 392: Line 48:
"description": "Please, describe your experience."
"description": "Please, describe your experience."
},
},
"picture": {
"pictures": {
"wiki": {
"wiki": {
"name": "picture",
"name": "pictures",
"title": "Pictures",
"description": "Please upload any picture taken during this activity: the best ones will be published on a dedicated page",
"unique-items": false,
"unique-items": false,
"type": "schema",
"type": "schema",
"uuid": "670951ce76066"
"uuid": "67cb180c18966"
},
},
"items": {
"items": {
Line 422: Line 80:
"showDropTarget": true
"showDropTarget": true
},
},
"label": "Picture",
"help-message": "A picture of yourself (if possible while doing the activity) makes your contribution more personal and colorful.",
"default": [],
"default": [],
"value-prefix": "File:",
"value-prefix": "File:",
"uuid": "6709518bbbe42",
"uuid": "67cb17fcc5809",
"visibility": "visible",
"visibility": "visible",
"preferred-input": "OO.ui.SelectFileWidget",
"preferred-input": "OO.ui.SelectFileWidget",
Line 433: Line 89:
},
},
"format": "text",
"format": "text",
"title": "Picture",
"description": "A picture of yourself (if possible while doing the activity) makes your contribution more personal and colorful.",
"default": []
"default": []
},
"type": "array",
"title": "Pictures",
"description": "Please upload any picture taken during this activity: the best ones will be published on a dedicated page",
"uniqueItems": false
},
"organization": {
"wiki": {
"name": "organization",
"type": "property",
"multiple-items": false,
"label": "organization",
"visibility": "visible",
"preferred-input": "LookupElement",
"input-config": [],
"required": false,
"options-query": "[[name::\u003Cvalue\u003E~]]",
"query-schema": "Organization",
"query-printouts": [
"name"
],
"uuid": "67cc62fd6f1fd"
},
"type": "string",
"format": "text",
"title": "organization"
},
"project_number": {
"wiki": {
"name": "project_number",
"unique-items": false,
"type": "schema",
"uuid": "67cf117562397"
},
"items": {
"type": "string",
"wiki": {
"name": "project_number",
"type": "property",
"multiple-items": true,
"label": "project",
"uuid": "67cc6394d6ae3",
"visibility": "visible",
"preferred-input": "MenuTagSearchMultiselect",
"input-config": [],
"required": false,
"options-query": "[[project_number::\u003Cvalue\u003E~]] [[hosting_organization::\u003Corganization\u003E]]",
"query-schema": "Project",
"query-printouts": [
"project_number"
],
"layout": "table"
},
"format": "text",
"title": "project"
},
},
"type": "array",
"type": "array",
"uniqueItems": false
"uniqueItems": false
},
"activity": {
"wiki": {
"type": "property",
"uuid": "6600886b682ab",
"name": "activity",
"visibility": "visible",
"label": "Activity",
"multiple-items": false,
"preferred-input": "LookupElement",
"input-config": [],
"options-query": "[[project_number::\u003Cproject_number\u003E]] [[name::\u003Cvalue\u003E~]]",
"query-schema": "Activity",
"query-printouts": [
"name"
],
"required": false
},
"type": "string",
"format": "text",
"title": "Activity"
}
}
},
},
"required": [
"required": [
"name",
"person",
"country",
"testimony"
"project"
],
],
"type": "object",
"type": "object",
"title": "Your experience"
"title": "Your experience"
}
}

Latest revision as of 16:26, 10 March 2025

wiki
type"schema"
uuid"6600886b68293"
name"Experience"
title"Your experience"
properties
person
wiki
name"person"
type"property"
multiple-itemsfalse
requiredtrue
label"person"
help-message"a person created through the [[Add person]] form"
uuid"67cb2e26a3e56"
visibility"visible"
preferred-input"LookupElement"
input-config
Empty array
options-query"[[name::<value>~]]"
query-schema"Person"
query-printouts
"name"
type"string"
format"text"
title"person"
description"a person created through the <a href="/wiki/Add_person" title="Add person">Add person</a> form"
testimony
wiki
name"testimony"
type"property"
multiple-itemsfalse
requiredtrue
label"Testimony"
help-message"Please, describe your experience."
uuid"6600886b682ad"
visibility"visible"
preferred-input"OO.ui.MultilineTextInputWidget"
input-config
Empty array
type"string"
format"textarea"
title"Testimony"
description"Please, describe your experience."
pictures
wiki
name"pictures"
title"Pictures"
description"Please upload any picture taken during this activity: the best ones will be published on a dedicated page"
unique-itemsfalse
type"schema"
uuid"67cb180c18966"
items
type"string"
wiki
name"picture"
type"property"
multiple-itemstrue
input-config
accept
"image/svg+xml"
"image/png"
"image/gif"
"image/jpeg"
"image/pjpeg"
"image/webp"
"application/pdf"
"image/tiff"
"image/x-tiff"
"image/bmp"
"image/x-windows-bmp"
droppabletrue
showDropTargettrue
default
Empty array
value-prefix"File:"
uuid"67cb17fcc5809"
visibility"visible"
preferred-input"OO.ui.SelectFileWidget"
requiredfalse
layout"table"
format"text"
default
Empty array
type"array"
title"Pictures"
description"Please upload any picture taken during this activity: the best ones will be published on a dedicated page"
uniqueItemsfalse
organization
wiki
name"organization"
type"property"
multiple-itemsfalse
label"organization"
visibility"visible"
preferred-input"LookupElement"
input-config
Empty array
requiredfalse
options-query"[[name::<value>~]]"
query-schema"Organization"
query-printouts
"name"
uuid"67cc62fd6f1fd"
type"string"
format"text"
title"organization"
project_number
wiki
name"project_number"
unique-itemsfalse
type"schema"
uuid"67cf117562397"
items
type"string"
wiki
name"project_number"
type"property"
multiple-itemstrue
label"project"
uuid"67cc6394d6ae3"
visibility"visible"
preferred-input"MenuTagSearchMultiselect"
input-config
Empty array
requiredfalse
options-query"[[project_number::<value>~]] [[hosting_organization::<organization>]]"
query-schema"Project"
query-printouts
"project_number"
layout"table"
format"text"
title"project"
type"array"
uniqueItemsfalse
activity
wiki
type"property"
uuid"6600886b682ab"
name"activity"
visibility"visible"
label"Activity"
multiple-itemsfalse
preferred-input"LookupElement"
input-config
Empty array
options-query"[[project_number::<project_number>]] [[name::<value>~]]"
query-schema"Activity"
query-printouts
"name"
requiredfalse
type"string"
format"text"
title"Activity"
required
"person"
"testimony"
type"object"
title"Your experience"