Skip to content

Commit 16d2ac3

Browse files
committed
Add fixed strings for the difficulty tag
1 parent 6db4f63 commit 16d2ac3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/validation/rules/tutorial-metadata-schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
"type": "string"
3131
},
3232
"difficulty": {
33-
"type": "string"
33+
"type": "string",
34+
"enum": ["Easy", "Intermediate", "Advanced"]
3435
},
3536
"hero_position": {
3637
"type": "integer"

0 commit comments

Comments
 (0)