VisualDataSchema:Pictures: Difference between revisions
Appearance
	
	
No edit summary  | 
				No edit summary  | 
				||
| (10 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
		"type": "schema",  | 		"type": "schema",  | ||
		"uuid": "68416fad59ec7",  | 		"uuid": "68416fad59ec7",  | ||
		"name": "  | 		"name": "Pictures"  | ||
	},  | 	},  | ||
	"properties": {  | 	"properties": {  | ||
		"organization": {  | 		"organization": {  | ||
			"wiki": {  | 			"wiki": {  | ||
				"type": "property",  | |||
				"uuid": "68416fad59ecb",  | |||
				"name": "organization",  | 				"name": "organization",  | ||
				"  | 				"visibility": "visible",  | ||
				"label": "organization",  | |||
				"help-message": "Add first an organization [[Add_organization|through this page]]",  | |||
				"multiple-items": false,  | 				"multiple-items": false,  | ||
				"preferred-input": "LookupElement",  | |||
				"preferred-input": "  | |||
				"input-config": [],  | 				"input-config": [],  | ||
				"  | 				"options-query": "[[name::~\u003Cvalue\u003E~]]",  | ||
				"query-schema": "Organization",  | |||
				"query-printouts": [  | |||
					"name"  | |||
				],  | |||
				"required": true  | |||
			},  | 			},  | ||
			"type": "string",  | 			"type": "string",  | ||
			"format": "text",  | 			"format": "text",  | ||
			"title": "organization"  | 			"title": "organization",  | ||
			"description": "Add first an organization \u003Ca href=\"/wiki/Add_organization\" title=\"Add organization\"\u003Ethrough this page\u003C/a\u003E"  | |||
		},  | 		},  | ||
		"location": {  | 		"location": {  | ||
| Line 28: | Line 35: | ||
				"multiple-items": false,  | 				"multiple-items": false,  | ||
				"label": "location",  | 				"label": "location",  | ||
				"help-message": "Add first a location [[Add_location|from this page]]",  | |||
				"uuid": "68416fad59ed3",  | |||
				"visibility": "visible",  | 				"visibility": "visible",  | ||
				"preferred-input": "  | 				"preferred-input": "OO.ui.DropdownInputWidget",  | ||
				"input-config": [],  | 				"input-config": [],  | ||
				"  | 				"options-allow-null": false,  | ||
				"options-query": "[[name:+]][[organization::\u003Corganization\u003E]]",  | 				"options-query": "[[name::+]][[organization::\u003Corganization\u003E]]",  | ||
				"query-schema": "Location",  | 				"query-schema": "Location",  | ||
				"query-printouts": [  | 				"query-printouts": [  | ||
					"name"  | 					"name"  | ||
				],  | 				],  | ||
				"  | 				"required": false  | ||
			},  | 			},  | ||
			"type": "string",  | 			"type": "string",  | ||
			"format": "text",  | 			"format": "text",  | ||
			"title": "location"  | 			"title": "location",  | ||
			"description": "Add first a location \u003Ca href=\"/wiki/Add_location\" title=\"Add location\"\u003Efrom this page\u003C/a\u003E"  | |||
		},  | 		},  | ||
		"pictures": {  | 		"pictures": {  | ||
| Line 49: | Line 59: | ||
				"unique-items": false,  | 				"unique-items": false,  | ||
				"type": "schema",  | 				"type": "schema",  | ||
				"uuid": "  | 				"uuid": "6849a20fac612"  | ||
			},  | 			},  | ||
			"items": {  | 			"items": {  | ||
| Line 56: | Line 66: | ||
					"name": "pictures",  | 					"name": "pictures",  | ||
					"type": "schema",  | 					"type": "schema",  | ||
					"uuid": "6841709eb242e",  | |||
					"layout": "section",  | 					"layout": "section",  | ||
					"visibility": "visible  | 					"visibility": "visible"  | ||
				},  | 				},  | ||
				"properties": {  | 				"properties": {  | ||
					"file": {  | 					"file": {  | ||
						"wiki": {  | 						"wiki": {  | ||
							"name": "file",  | |||
							"type": "property",  | 							"type": "property",  | ||
							"  | 							"multiple-items": false,  | ||
							"required": true,  | |||
							"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"  | |||
								]  | |||
							},  | |||
							"value-prefix": "File:",  | |||
							"visibility": "visible",  | 							"visibility": "visible",  | ||
							"preferred-input": "OO.ui.SelectFileWidget",  | 							"preferred-input": "OO.ui.SelectFileWidget",  | ||
							"uuid": "68417068e4820"  | |||
							"uuid": "  | |||
						},  | 						},  | ||
						"type": "string",  | 						"type": "string",  | ||
| Line 77: | Line 104: | ||
					"caption": {  | 					"caption": {  | ||
						"wiki": {  | 						"wiki": {  | ||
							"name": "caption",  | |||
							"type": "property",  | 							"type": "property",  | ||
							"  | 							"multiple-items": false,  | ||
							"label": "caption",  | |||
							"visibility": "visible",  | 							"visibility": "visible",  | ||
							"preferred-input": "OO.ui.TextInputWidget",  | 							"preferred-input": "OO.ui.TextInputWidget",  | ||
							"input-config": [],  | 							"input-config": [],  | ||
							"required": false,  | 							"required": false,  | ||
							"uuid": "  | 							"uuid": "68417068e4823"  | ||
						},  | 						},  | ||
						"type": "string",  | 						"type": "string",  | ||
						"format": "text",  | 						"format": "text",  | ||
						"title": "caption"  | 						"title": "caption"  | ||
					},  | |||
					"date": {  | |||
						"wiki": {  | |||
							"name": "date",  | |||
							"type": "property",  | |||
							"multiple-items": false,  | |||
							"label": "date",  | |||
							"visibility": "visible",  | |||
							"preferred-input": "mw.widgets.DateInputWidget",  | |||
							"input-config": [],  | |||
							"required": false,  | |||
							"uuid": "6841709eb2435"  | |||
						},  | |||
						"type": "string",  | |||
						"format": "date",  | |||
						"title": "date"  | |||
					},  | |||
					"carousel": {  | |||
						"wiki": {  | |||
							"name": "carousel",  | |||
							"type": "property",  | |||
							"multiple-items": false,  | |||
							"label": "carousel",  | |||
							"help-message": "deselect if you don't want to publish this picture in the main carousel",  | |||
							"default": "true",  | |||
							"visibility": "visible",  | |||
							"preferred-input": "OO.ui.ToggleSwitchWidget",  | |||
							"input-config": [],  | |||
							"required": false,  | |||
							"uuid": "6849a20fac61f"  | |||
						},  | |||
						"type": "boolean",  | |||
						"title": "carousel",  | |||
						"description": "deselect if you don't want to publish this picture in the main carousel",  | |||
						"default": "true"  | |||
					}  | 					}  | ||
				},  | 				},  | ||
Latest revision as of 07:33, 27 September 2025
| wiki | 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| properties | 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| required | 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | "object" |