VisualDataSchema:Project: Difference between revisions
Appearance
	
	
No edit summary  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
{  | {  | ||
	"wiki": {  | |||
		"type": "schema",  | |||
		"uuid": "6634e38ac4735",  | |||
		"name": "Project",  | |||
		"title": "Project"  | |||
	},  | |||
	"properties": {  | |||
		"name": {  | |||
			"wiki": {  | |||
				"name": "name",  | |||
				"type": "property",  | |||
				"multiple-items": false,  | |||
				"required": true,  | |||
				"label": "Project name",  | |||
				"label-parsed": "Project name",  | |||
				"visibility": "visible",  | |||
				"preferred-input": "OO.ui.TextInputWidget",  | |||
				"input-config": [],  | |||
				"uuid": "6634e38ac4739"  | |||
			},  | |||
			"type": "string",  | |||
			"format": "text",  | |||
			"title": "Project name"  | |||
		},  | |||
		"project_number": {  | |||
			"wiki": {  | |||
				"type": "property",  | |||
				"name": "project_number",  | |||
				"visibility": "visible",  | |||
				"label": "project number",  | |||
				"multiple-items": false,  | |||
				"preferred-input": "OO.ui.TextInputWidget",  | |||
				"input-config": [],  | |||
				"required": false,  | |||
				"uuid": "67c9d014d142b"  | |||
			},  | |||
			"type": "string",  | |||
			"format": "text",  | |||
			"title": "project number"  | |||
		},  | |||
		"national_agency": {  | |||
			"wiki": {  | |||
				"type": "property",  | |||
				"name": "national_agency",  | |||
				"visibility": "visible",  | |||
				"label": "national agency",  | |||
				"multiple-items": false,  | |||
				"preferred-input": "OO.ui.DropdownInputWidget",  | |||
				"input-config": [],  | |||
				"required": false,  | |||
				"options-allow-null": false,  | |||
				"options-wikilist": "National agencies codes",  | |||
				"options-label-formula": "{{National_agency_country_from_code|\u003Cvalue\u003E}}",  | |||
				"uuid": "67c9d014d142f"  | |||
			},  | |||
			"type": "string",  | |||
			"format": "text",  | |||
			"title": "national agency",  | |||
			"enum": [  | |||
				"AT01",  | |||
				"BE03-5",  | |||
				"BG01",  | |||
				"HR01",  | |||
				"CY01",  | |||
				"CZ01",  | |||
				"DK01",  | |||
				"EE01",  | |||
				"FI01",  | |||
				"FR02",  | |||
				"DE04",  | |||
				"EL02",  | |||
				"HU01",  | |||
				"IE01",  | |||
				"IT03",  | |||
				"LV02",  | |||
				"LI01",  | |||
				"LT02",  | |||
				"LU01",  | |||
				"MT01",  | |||
				"NL02",  | |||
				"PL01",  | |||
				"PT02",  | |||
				"RO01",  | |||
				"SK02",  | |||
				"SI02",  | |||
				"ES02",  | |||
				"SE02",  | |||
				"TR01",  | |||
				"IS01",  | |||
				"MK01"  | |||
			]  | |||
		},  | |||
		"sending_organization": {  | |||
			"wiki": {  | |||
				"name": "sending_organization",  | |||
				"type": "property",  | |||
				"multiple-items": false,  | |||
				"required": true,  | |||
				"label": "Sending organization",  | |||
				"help-message": "must be registered with the [[Organizations|Organization]] form",  | |||
				"label-parsed": "Sending organization",  | |||
				"help-message-parsed": "must be registered with the \u003Ca href=\"/wiki/Organizations\" title=\"Organizations\"\u003EOrganization\u003C/a\u003E form",  | |||
				"visibility": "visible",  | |||
				"preferred-input": "LookupElement",  | |||
				"input-config": [],  | |||
				"options-askquery": "[[name::+]]",  | |||
				"askquery-schema": "Organization",  | |||
				"askquery-printouts": [  | |||
					"name"  | |||
				],  | |||
				"options-values-parsed": {  | |||
					"Istituto cultura italiana NCLE": "Istituto cultura italiana NCLE"  | |||
				},  | |||
				"uuid": "6634e38ac473d"  | |||
			},  | |||
			"type": "string",  | |||
			"format": "text",  | |||
			"title": "Sending organization",  | |||
			"description": "must be registered with the \u003Ca href=\"/wiki/Organizations\" title=\"Organizations\"\u003EOrganization\u003C/a\u003E form"  | |||
		},  | |||
		"hosting_organization": {  | |||
			"wiki": {  | |||
				"name": "hosting_organization",  | |||
				"type": "property",  | |||
				"multiple-items": false,  | |||
				"required": true,  | |||
				"label": "Hosting organization",  | |||
				"help-message": "must be registered with the [[Organizations|Organization]] form",  | |||
				"label-parsed": "Hosting organization",  | |||
				"help-message-parsed": "must be registered with the \u003Ca href=\"/wiki/Organizations\" title=\"Organizations\"\u003EOrganization\u003C/a\u003E form",  | |||
				"visibility": "visible",  | |||
				"preferred-input": "LookupElement",  | |||
				"input-config": [],  | |||
				"options-askquery": "[[name::+]]",  | |||
				"askquery-schema": "Organization",  | |||
				"askquery-printouts": [  | |||
					"name"  | |||
				],  | |||
				"options-values-parsed": {  | |||
					"Istituto cultura italiana NCLE": "Istituto cultura italiana NCLE"  | |||
				},  | |||
				"uuid": "6634e38ac4742"  | |||
			},  | |||
			"type": "string",  | |||
			"format": "text",  | |||
			"title": "Hosting organization",  | |||
			"description": "must be registered with the \u003Ca href=\"/wiki/Organizations\" title=\"Organizations\"\u003EOrganization\u003C/a\u003E form"  | |||
		},  | |||
		"coordinating_organization": {  | |||
			"wiki": {  | |||
				"name": "coordinating_organization",  | |||
				"type": "property",  | |||
				"multiple-items": false,  | |||
				"label": "Coordinating organization",  | |||
				"help-message": "(if different from sending organization)\n\nmust be registered with the [[Organizations|Organization]] form",  | |||
				"visibility": "visible",  | |||
				"preferred-input": "LookupElement",  | |||
				"input-config": [],  | |||
				"options-askquery": "[[name::+]]",  | |||
				"askquery-schema": "Organization",  | |||
				"askquery-printouts": [  | |||
					"name"  | |||
				],  | |||
				"required": false,  | |||
				"uuid": "6634e38ac4745"  | |||
			},  | |||
			"type": "string",  | |||
			"format": "text",  | |||
			"title": "Coordinating organization",  | |||
			"description": "\u003Cp\u003E(if different from sending organization)\n\u003C/p\u003E\u003Cp\u003Emust be registered with the \u003Ca href=\"/wiki/Organizations\" title=\"Organizations\"\u003EOrganization\u003C/a\u003E form\n\u003C/p\u003E"  | |||
		},  | |||
		"start_date": {  | |||
			"wiki": {  | |||
				"name": "start_date",  | |||
				"type": "property",  | |||
				"multiple-items": false,  | |||
				"required": true,  | |||
				"label": "Start date",  | |||
				"label-parsed": "Start date",  | |||
				"visibility": "visible",  | |||
				"preferred-input": "mw.widgets.DateInputWidget",  | |||
				"input-config": [],  | |||
				"uuid": "6634e38ac4748"  | |||
			},  | |||
			"type": "string",  | |||
			"format": "date",  | |||
			"title": "Start date"  | |||
		},  | |||
		"end_date": {  | |||
			"wiki": {  | |||
				"name": "end_date",  | |||
				"type": "property",  | |||
				"multiple-items": false,  | |||
				"required": true,  | |||
				"label": "End date",  | |||
				"label-parsed": "End date",  | |||
				"visibility": "visible",  | |||
				"preferred-input": "mw.widgets.DateInputWidget",  | |||
				"input-config": [],  | |||
				"uuid": "6634e38ac474a"  | |||
			},  | |||
			"type": "string",  | |||
			"format": "date",  | |||
			"title": "End date"  | |||
		},  | |||
		"volunteers_number": {  | |||
			"wiki": {  | |||
				"name": "volunteers_number",  | |||
				"type": "property",  | |||
				"multiple-items": false,  | |||
				"required": true,  | |||
				"label": "Number of volunteers",  | |||
				"label-parsed": "Number of volunteers",  | |||
				"visibility": "visible",  | |||
				"preferred-input": "OO.ui.NumberInputWidget",  | |||
				"input-config": [],  | |||
				"uuid": "6634e38ac474c"  | |||
			},  | |||
			"type": "number",  | |||
			"title": "Number of volunteers"  | |||
		}  | |||
	},  | |||
	"required": [  | |||
		"name",  | |||
		"sending_organization",  | |||
		"hosting_organization",  | |||
		"start_date",  | |||
		"end_date",  | |||
		"volunteers_number"  | |||
	],  | |||
	"type": "object",  | |||
	"title": "Project"  | |||
}  | }  | ||
Revision as of 16:40, 6 March 2025
| wiki | 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| properties | 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| required | 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | "object" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| title | "Project" |