VisualDataSchema:Experience: Difference between revisions
Appearance
	
	
No edit summary  | 
				No edit summary  | 
				||
| (46 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{  | {  | ||
	"wiki": {  | |||
		"type": "schema",  | |||
		"uuid": "6600886b68293",  | |||
		"name": "Experience",  | |||
		"title": "Your experience"  | |||
	},  | |||
	"properties": {  | |||
		"person": {  | |||
			"wiki": {  | |||
				"name": "person",  | |||
				"type": "property",  | |||
				"multiple-items": false,  | |||
				"required": true,  | |||
				"label": "person",  | |||
				"help-message": "a person created through the [[Add person]] form",  | |||
				"uuid": "67cb2e26a3e56",  | |||
				"visibility": "visible",  | |||
				"preferred-input": "LookupElement",  | |||
				"input-config": [],  | |||
				"options-query": "[[name::\u003Cvalue\u003E~]]",  | |||
				"query-schema": "Person",  | |||
				"query-printouts": [  | |||
					"name"  | |||
				]  | |||
			},  | |||
			"type": "string",  | |||
			"format": "text",  | |||
			"title": "person",  | |||
			"description": "a person created through the \u003Ca href=\"/wiki/Add_person\" title=\"Add person\"\u003EAdd person\u003C/a\u003E form"  | |||
		},  | |||
		"testimony": {  | |||
			"wiki": {  | |||
				"name": "testimony",  | |||
				"type": "property",  | |||
				"multiple-items": false,  | |||
				"required": true,  | |||
				"label": "Testimony",  | |||
				"help-message": "Please, describe your experience.",  | |||
				"uuid": "6600886b682ad",  | |||
				"visibility": "visible",  | |||
				"preferred-input": "OO.ui.MultilineTextInputWidget",  | |||
				"input-config": []  | |||
			},  | |||
			"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-items": false,  | |||
				"type": "schema",  | |||
				"uuid": "67cb180c18966"  | |||
			},  | |||
			"items": {  | |||
				"type": "string",  | |||
				"wiki": {  | |||
					"name": "picture",  | |||
					"type": "property",  | |||
					"multiple-items": true,  | |||
					"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"  | |||
						],  | |||
						"droppable": true,  | |||
						"showDropTarget": true  | |||
					},  | |||
					"default": [],  | |||
					"value-prefix": "File:",  | |||
					"uuid": "67cb17fcc5809",  | |||
					"visibility": "visible",  | |||
					"preferred-input": "OO.ui.SelectFileWidget",  | |||
					"required": false,  | |||
					"layout": "table"  | |||
				},  | |||
				"format": "text",  | |||
				"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",  | |||
			"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": [  | |||
		"person",  | |||
		"testimony"  | |||
	],  | |||
	"type": "object",  | |||
	"title": "Your experience"  | |||
}  | }  | ||
Latest revision as of 16:26, 10 March 2025
| wiki | 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| properties | 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| required | 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | "object" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| title | "Your experience" |