feat(tools): json schema verifies that no additional properties are used

Closes https://github.com/espressif/esp-idf/issues/13853
Closes https://github.com/espressif/esp-idf/pull/13854
This commit is contained in:
Marek Fiala 2024-05-27 16:10:46 +02:00
parent 71b5277e81
commit 55112978fd

View File

@ -23,6 +23,7 @@
"toolInfo": {
"type": "object",
"description": "Information about one tool",
"additionalProperties": false,
"properties": {
"name" : {
"description": "Tool name (used as a directory name)",
@ -131,6 +132,7 @@
},
"versionInfo": {
"type": "object",
"additionalProperties": false,
"properties": {
"name" : {
"description": "Version name (used as a directory name)",
@ -153,6 +155,9 @@
"linux-arm64": {
"$ref": "#/definitions/platformDownloadInfo"
},
"linux-armhf": {
"$ref": "#/definitions/platformDownloadInfo"
},
"macos": {
"$ref": "#/definitions/platformDownloadInfo"
},
@ -173,6 +178,7 @@
"platformDownloadInfo": {
"description": "Information about download artifact for one platform",
"type": "object",
"additionalProperties": false,
"properties": {
"sha256": {
"type": "string",
@ -205,6 +211,7 @@
"platformOverrideInfo": {
"description": "Platform-specific values which override the defaults",
"type": "object",
"additionalProperties": false,
"properties": {
"platforms": {
"description": "List of platforms to which this override applies",