Allow for additional properties when checking appliances

This commit is contained in:
grossmj 2021-10-15 22:57:06 +10:30
parent 8a8ceb1dd0
commit d183a8790a
2 changed files with 1 additions and 2 deletions

View File

@ -78,7 +78,7 @@ def check_appliance(appliance):
schema_filename = "schemas/appliance_v{}.json".format(version) schema_filename = "schemas/appliance_v{}.json".format(version)
with open(schema_filename) as f: with open(schema_filename) as f:
schemas[version] = json.load(f) schemas[version] = json.load(f)
no_additional_properties(schemas[version]) #no_additional_properties(schemas[version])
with open(os.path.join('appliances', appliance)) as f: with open(os.path.join('appliances', appliance)) as f:
appliance_json = json.load(f) appliance_json = json.load(f)

View File

@ -430,7 +430,6 @@
} }
} }
}, },
"additionalProperties": false,
"required": [ "required": [
"name", "name",
"category", "category",