{
	"definitions": {},
	"$schema": "http://json-schema.org/draft-07/schema#",
	"$id": "https://a2809calculator.snapplus.wisc.edu/SampleInputSchema.json",
	"title": "Root",
	"type": "array",
	"default": [],
	"items":{
		"$id": "#root/items",
		"title": "Items",
		"type": "object",
		"required": [
			"LabName",
			"LabJobID",
			"Date",
			"FarmName",
			"FieldName",
			"County",
			"SoilSeries",
			"SoilMapUnit",
			"Irrigated",
			"Drained",
			"pHSample0-2",
			"CropYr1",
			"Yg1",
			"CropYr2",
			"Yg2",
			"CropYr3",
			"Yg3",
			"CropYr4",
			"Yg4",
			"PlowDepth",
			"SoilSmplID",
			"PH",
			"BpH",
			"OM",
			"P",
			"K",
			"Ca",
			"Mg",
			"B",
			"Mn",
			"Zn",
			"S",
			"ScoopWt"
		],
		"properties": {
			"LabName": {
				"$id": "#root/items/LabName",
				"title": "Lab name",
				"type": "string",
				"default": "",
				"examples": [
					"Soil & Forage Analysis Lab"
				],
				"pattern": "^.*$"
			},
			"LabJobID": {
				"$id": "#root/items/LabJobID",
				"title": "Lab job ID",
				"type": "string",
				"default": "",
				"examples": [
					"Job 2021-09-08 33a"
				],
				"pattern": "^.*$"
			},
			"Date": {
				"$id": "#root/items/Date",
				"title": "Date",
				"type": "string",
				"default": "",
				"examples": [
					"2018-04-27"
				],
				"pattern": "^.*$"
			},
			"FarmName": {
				"$id": "#root/items/FarmName",
				"title": "Farm name",
				"type": "string",
				"default": "",
				"examples": [
					"Enge Farms"
				],
				"pattern": "^.*$"
			},
			"FieldName": {
				"$id": "#root/items/FieldName",
				"title": "Field name",
				"type": "string",
				"default": "",
				"examples": [
					"14AB"
				],
				"pattern": "^.*$"
			},
			"County": {
				"$id": "#root/items/County",
				"title": "County",
				"type": "string",
				"default": "",
				"examples": [
					"Columbia"
				],
				"pattern": "^.*$"
			},
			"SoilSeries": {
				"$id": "#root/items/SoilSeries",
				"title": "Soil series",
				"type": "string",
				"default": "",
				"examples": [
					"Mt. Carroll"
				],
				"pattern": "^.*$"
			},
			"SoilMapUnit": {
				"$id": "#root/items/SoilMapUnit",
				"title": "Soil map unit",
				"type": "string",
				"default": "",
				"examples": [
					"MtA"
				],
				"pattern": "^.*$"
			},
			"Irrigated": {
				"$id": "#root/items/Irrigated",
				"title": "Irrigated?",
				"type": "boolean",
				"examples": [
					false
				],
				"default": false
			},
			"Drained": {
				"$id": "#root/items/Drained",
				"title": "Drained/Tiled?",
				"type": "boolean",
				"examples": [
					false
				],
				"default": false
			},
			"pHSample0-2": {
				"$id": "#root/items/pHSample0-2",
				"title": "Is this a pH-only sample at 0-2-inch depth for a no-till field?",
				"type": "boolean",
				"examples": [
					false
				],
				"default": false
			},
			"CropYr1": {
				"$id": "#root/items/CropYr1",
				"title": "Year 1 crop",
				"type": "string",
				"default": "",
				"examples": [
					"Alfalfa, seeding"
				],
				"pattern": "^.*$"
			},
			"Yg1": {
				"$id": "#root/items/Yg1",
				"title": "Year 1 yield goal",
				"type": "string",
				"default": "",
				"examples": [
					"3.0"
				],
				"pattern": "^.*$"
			},
			"CropYr2": {
				"$id": "#root/items/CropYr2",
				"title": "Year 2 crop",
				"type": "string",
				"default": "",
				"examples": [
					"Alfalfa, established"
				],
				"pattern": "^.*$"
			},
			"Yg2": {
				"$id": "#root/items/Yg2",
				"title": "Year 2 yield goal",
				"type": "string",
				"default": "",
				"examples": [
					"6.1"
				],
				"pattern": "^.*$"
			},
			"CropYr3": {
				"$id": "#root/items/CropYr3",
				"title": "Year 3 crop",
				"type": "string",
				"default": "",
				"examples": [
					"Corn, grain"
				],
				"pattern": "^.*$"
			},
			"Yg3": {
				"$id": "#root/items/Yg3",
				"title": "Year 3 yield goal",
				"type": "string",
				"default": "",
				"examples": [
					"160-180"
				],
				"pattern": "^.*$"
			},
			"CropYr4": {
				"$id": "#root/items/CropYr4",
				"title": "Year 4 crop",
				"type": "string",
				"default": "",
				"examples": [
					"Corn, silage"
				],
				"pattern": "^.*$"
			},
			"Yg4": {
				"$id": "#root/items/Yg4",
				"title": "Year 4 yield goal",
				"type": "string",
				"default": "",
				"examples": [
					"27.0"
				],
				"pattern": "^.*$"
			},
			"PlowDepth": {
				"$id": "#root/items/PlowDepth",
				"title": "Plow depth (inches)",
				"type": "integer",
				"examples": [
					7
				],
				"default": 0
			},
			"SoilSmplID": {
				"$id": "#root/items/SoilSmplID",
				"title": "Soil sample ID",
				"type": "string",
				"default": "",
				"examples": [
					"Sample 41"
				],
				"pattern": "^.*$"
			},
			"PH": {
				"$id": "#root/items/PH",
				"title": "Sample pH",
				"type": "number",
				"examples": [
					6.6
				],
				"default": 0.0
			},
			"BpH": {
				"$id": "#root/items/BpH",
				"title": "Sample buffer pH",
				"type": "number",
				"examples": [
					-9999, 7.0
				],
				"default": -9999
			},
			"OM": {
				"$id": "#root/items/OM",
				"title": "Sample organic matter (%)",
				"type": "number",
				"examples": [
					2.5
				],
				"default": 0.0
			},
			"P": {
				"$id": "#root/items/P",
				"title": "Sample Phosphorus (ppm)",
				"type": "number",
				"examples": [
					18
				],
				"default": 0
			},
			"K": {
				"$id": "#root/items/K",
				"title": "Sample Potassium (ppm)",
				"type": "number",
				"examples": [
					120
				],
				"default": 0
			},
			"Ca": {
				"$id": "#root/items/Ca",
				"title": "Sample Calcium (ppm)",
				"type": "number",
				"examples": [
					-9999
				],
				"default": 0
			},
			"Mg": {
				"$id": "#root/items/Mg",
				"title": "Magnesium (ppm)",
				"type": "number",
				"examples": [
					-9999
				],
				"default": 0
			},
			"B": {
				"$id": "#root/items/B",
				"title": "Sample Boron (ppm)",
				"type": "number",
				"examples": [
					0.6
				],
				"default": 0
			},
			"Mn": {
				"$id": "#root/items/Mn",
				"title": "Sample Manganese (ppm)",
				"type": "number",
				"examples": [
					23
				],
				"default": 0
			},
			"Zn": {
				"$id": "#root/items/Zn",
				"title": "Sample Zinc (ppm)",
				"type": "number",
				"examples": [
					1.5
				],
				"default": 0
			},
			"S": {
				"$id": "#root/items/S",
				"title": "Sample Sulfur (ppm)",
				"type": "number",
				"examples": [
					0.8
				],
				"default": 0
			},
			"ScoopWt": {
				"$id": "#root/items/ScoopWt",
				"title": "Sample Scoop Weight (for density calcs)",
				"type": "number",
				"examples": [
					5.8
				],
				"default": 0.0
			}
		}
	}
}