|
|
(20 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-askquery": "[[name::+]]", | | "options-query": "[[name::\u003Cvalue\u003E~]]", |
| "askquery-schema": "Project", | | "query-schema": "Person", |
| "askquery-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", | | "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 | | "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", |
| | "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" |
| } | | } |