Skip to content

Commit 7c82276

Browse files
authored
Fix create resource schema (#19)
1 parent 3df73a2 commit 7c82276

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/json-schemas/schemas/template/action/create-resource.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
"additionalProperties": false
9595
},
9696
"propertyNames": {
97+
"type": "string",
9798
"pattern": "^[a-z-A-Z]+(-?[a-z-A-Z0-9]+)*$",
9899
"minLength": 1,
99100
"description": "The ID of the component.",
@@ -412,12 +413,13 @@
412413
"type": "object",
413414
"description": "A map of experience indexes to variable names.",
414415
"propertyNames": {
416+
"type": "string",
415417
"description": "The index of the experience in the list.",
416418
"pattern": "^[0-9]+$",
417419
"minLength": 1,
418420
"examples": [
419-
0,
420-
1
421+
"0",
422+
"1"
421423
]
422424
},
423425
"additionalProperties": {

0 commit comments

Comments
 (0)