Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a2e0f2d

Browse files
committed
Add fixed strings for the difficulty tag
1 parent 502a7c7 commit a2e0f2d

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)

AltStyle によって変換されたページ (->オリジナル) /