fix(common): Make life easier for @joryirving by relaxing schema

This commit is contained in:
Bernd Schorgers 2024-03-13 21:10:37 +01:00
parent 43320eaa21
commit d6749abdfc
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
2 changed files with 5 additions and 5 deletions

View file

@ -51,7 +51,7 @@
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"anyOf": [ "anyOf": [
{"type": ["string", "number", "boolean"]}, {"type": ["string", "number", "boolean", "null"]},
{"$ref": "#/envValue"}, {"$ref": "#/envValue"},
{"$ref": "#/envValueFrom"}, {"$ref": "#/envValueFrom"},
{"$ref": "#/envImplicitValueFrom"} {"$ref": "#/envImplicitValueFrom"}
@ -172,7 +172,7 @@
"type": "string" "type": "string"
}, },
"value": { "value": {
"type": ["string", "number", "boolean"] "type": ["string", "number", "boolean", "null"]
} }
}, },
"required": ["name", "value"] "required": ["name", "value"]
@ -183,7 +183,7 @@
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"value": { "value": {
"type": ["string", "number", "boolean"] "type": ["string", "number", "boolean", "null"]
}, },
"dependsOn": {"$ref": "#/envDependsOn"} "dependsOn": {"$ref": "#/envDependsOn"}
}, },

View file

@ -2,14 +2,14 @@
"annotations": { "annotations": {
"type": ["object", "null"], "type": ["object", "null"],
"additionalProperties": { "additionalProperties": {
"type": ["string"] "type": ["string", "null"]
} }
}, },
"labels": { "labels": {
"type": ["object", "null"], "type": ["object", "null"],
"additionalProperties": { "additionalProperties": {
"type": ["string"] "type": ["string", "null"]
} }
} }
} }