{
	"$schema": "http://json-schema.org/draft-07/schema",
	"$id": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/schemas/iqrfOsUpgradeList.json",
	"type": "array",
	"additionalItems": false,
	"items": [
		{
			"$id": "#/items",
			"type": "object",
			"title": "OS Upgrade",
			"required": [
				"dpa",
				"os",
				"notes"
			],
			"additionalProperties": false,
			"properties": {
				"dpa": {
					"$id": "#/items/properties/dpa",
					"type": "object",
					"title": "DPA",
					"required": [
						"version",
						"attributes",
						"downloadPath"
					],
					"additionalProperties": false,
					"properties": {
						"attributes": {
							"$id": "#/items/properties/dpa/properties/attributes",
							"type": "object",
							"title": "DPA version attributes",
							"required": [
								"beta",
								"obsolete"
							],
							"additionalProperties": false,
							"properties": {
								"beta": {
									"$id": "#/items/properties/dpa/properties/attributes/properties/beta",
									"type": "boolean",
									"title": "DPA beta version",
									"example": true
								},
								"obsolete": {
									"$id": "#/items/properties/dpa/properties/attributes/properties/obsolete",
									"type": "boolean",
									"title": "DPA obsolete version",
									"example": false
								}
							}
						},
						"downloadPath": {
							"$id": "#/items/properties/downloadPath",
							"type": "string",
							"title": "Download URL",
							"example": "https://repository.iqrfalliance.org/download/dpa/4.16"
						},
						"version": {
							"$id": "#/items/properties/dpa/properties/version",
							"type": "string",
							"title": "DPA version",
							"example": "4.16"
						}
					}
				},
				"os": {
					"$id": "#/items/properties/os",
					"type": "object",
					"title": "IQRF OS",
					"required": [
						"attributes",
						"downloadPath",
						"build",
						"version"
					],
					"additionalProperties": false,
					"properties": {
						"attributes": {
							"$id": "#/items/properties/os/properties/attributes",
							"type": "object",
							"title": "IQRF OS version attributes",
							"required": [
								"beta",
								"obsolete"
							],
							"additionalProperties": false,
							"properties": {
								"beta": {
									"$id": "#/items/properties/os/properties/attributes/properties/beta",
									"type": "boolean",
									"title": "IQRF OS beta version",
									"example": true
								},
								"obsolete": {
									"$id": "#/items/properties/os/properties/attributes/properties/obsolete",
									"type": "boolean",
									"title": "IQRF OS obsolete version",
									"example": false
								}
							}
						},
						"build": {
							"$id": "#/items/properties/os/properties/build",
							"type": "string",
							"title": "IQRF OS build",
							"example": "08D7"
						},
						"downloadPath": {
							"$id": "#/items/properties/os/properties/downloadPath",
							"type": "string",
							"title": "Download URL",
							"example": "https://repository.iqrfalliance.org/download/iqrfos/08D7"
						},
						"version": {
							"$id": "#/items/properties/os/properties/version",
							"type": "string",
							"title": "IQRF OS version",
							"example": "4.05D"
						}
					}
				},
				"notes": {
					"$id": "#/items/properties/notes",
					"type": "string",
					"title": "Upgrade notes",
					"example": "IQRF OS 4.05D, DPA 4.16"
				}
			}
		}
	]
}
