{
	"schema": {
		"type": "object",
		"title": "Geospatial Dataset",
		"_notes": "based on file:///C:/Users/wb329102/Downloads/geospatial/usgin-dataset-template.xml",
		"properties": {
			"fileIdentifier": {
				"title": "Metadata file identifier",
				"type": "string"
			},
			"language": {
				"title": "Language",
				"type": "string",
				"description": "ISO's <ISO639-2/T three letter language code - lower case formatting e.g. en, es"
			},
			"CharacterSetCode": {
				"title": "Characterset",
				"type": "string"
			},
			"ScopeCode": {
				"title": "ScopeCode",
				"type": "string",
				"description": "code names: {attribute, attributeType, collectionHardware, collectionSession, dataset, series, nonGeographicDataset}"
			},
			"contact": {
				"type": "array",
				"items": {
					"type": "object",
					"properties": {
						"role": {
							"title": "Role",
							"type": "string",
							"description": "resourceProvider, custodian, owner, user, distributor, originator, pointOfContact, principalInvestigator"
						},
						"individualName": {
							"title": "Name",
							"type": "string"
						},
						"organisationName": {
							"title": "Organization",
							"type": "string"
						},
						"positionName": {
							"title": "Position",
							"type": "string"
						},
						"phone": {
							"title": "Phone",
							"type": "string"
						},
						"fax": {
							"title": "Fax",
							"type": "string"
						},
						"address": {
							"title": "Address",
							"type": "string"
						},
						"city": {
							"title": "City",
							"type": "string"
						},
						"administrativeArea": {
							"title": "Administrative area",
							"type": "string"
						},
						"postalCode": {
							"title": "Postal code",
							"type": "string"
						},
						"country": {
							"title": "Country",
							"type": "string"
						},
						"email": {
							"title": "Email",
							"type": "string"
						},
						"website": {
							"title": "Website link",
							"type": "string"
						},
						"contactInstructions": {
							"title": "Contact instructions",
							"type": "string"
						}
					}
				},
				"required": [
					"name"
				]
			}
		}
	},
	"form": [
		{
			"key": "geoSpatial",
			"title": "Geospatial Dataset",
			"type": "fieldset",
			"isVirtual": true,
			"items": [
				{
					"key": "fileDscr",
					"type": "fieldset",
					"title": "File Description",
					"isVirtual": true,
					"expandable": true,
					"items": [
						"fileIdentifier",
						"language",
						"CharacterSetCode",
						"ScopeCode"
					]
				},
				{
					"type": "array",
					"key": "contact",
					"title": "Owner",
					"items": [
						{
							"type": "section",
							"items": [
								{
									"key": "contact[].individualName"
								},
								{
									"key": "contact[].role"
								},
								{
									"key": "contact[].organisationName"
								},
								{
									"key": "contact[].positionName"
								},
								{
									"key": "contact[].contactInstructions"
								},
								{
									"key": "info",
									"type": "fieldset",
									"isVirtual": true,
									"expandable": true,
									"title": "Contact Info",
									"items": [
										{
											"key": "contact[].phone"
										},
										{
											"key": "contact[].fax"
										},
										{
											"key": "contact[].email"
										},
										{
											"key": "contact[].website"
										},
										{
											"key": "addInfo",
											"type": "fieldset",
											"isVirtual": true,
											"expandable": true,
											"title": "Address Info",
											"items": [
												{
													"key": "contact[].address"
												},
												{
													"key": "contact[].city"
												},
												{
													"key": "contact[].administrativeArea"
												},
												{
													"key": "contact[].postalCode"
												},
												{
													"key": "contact[].country"
												}
											]
										}
									]
								}
							]
						}
					]
				}
			]
		}
	]
}