Skip to content
This repository was archived by the owner on Aug 9, 2024. It is now read-only.

Commit 8353019

Browse files
committed
fix: added some additional pattern checks, and some missing additionalProperties=false
Signed-off-by: Ben Meier <ben.meier@humanitec.com>
1 parent e82b55d commit 8353019

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

score-v1b1.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@
205205
"description": "The environment variables for the container.",
206206
"type": "object",
207207
"propertyNames": {
208-
"minLength": 1
208+
"minLength": 1,
209+
"pattern": "^[^=]+$"
209210
},
210211
"additionalProperties": {
211212
"type": "string"
@@ -219,6 +220,7 @@
219220
"required": [
220221
"target"
221222
],
223+
"additionalProperties": false,
222224
"properties": {
223225
"target": {
224226
"description": "The file path to expose in the container.",
@@ -265,6 +267,7 @@
265267
"type": "array",
266268
"items": {
267269
"type": "object",
270+
"additionalProperties": false,
268271
"required": [
269272
"source",
270273
"target"

0 commit comments

Comments
 (0)