Merge branch 'feat/verif_no_additional_props_in_json_schema' into 'master'

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

Closes IDFGH-12892 and IDFGH-12893

See merge request espressif/esp-idf!31103
This commit is contained in:
Roland Dobai 2024-05-27 22:46:04 +08:00
commit a858da31da

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,9 +155,15 @@
"linux-arm64": {
"$ref": "#/definitions/platformDownloadInfo"
},
"linux-armhf": {
"$ref": "#/definitions/platformDownloadInfo"
},
"macos": {
"$ref": "#/definitions/platformDownloadInfo"
},
"macos-arm64": {
"$ref": "#/definitions/platformDownloadInfo"
},
"win32": {
"$ref": "#/definitions/platformDownloadInfo"
},
@ -170,6 +178,7 @@
"platformDownloadInfo": {
"description": "Information about download artifact for one platform",
"type": "object",
"additionalProperties": false,
"properties": {
"sha256": {
"type": "string",
@ -202,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",