You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+4
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,10 @@ There are several markers as followings:
111
111
|`#regex STR`| Expects actual (string) value to match the regular-expression 'STR' (see examples below) |
112
112
|`#[NUM] EXPR`| Advanced array marker. When NUM is provided, array must has length just NUM. When EXPR is provided, array's element must match the pattern 'EXPR' (see examples below) |
113
113
114
+
### Optional marker
115
+
116
+
You can use double hash `##` to mark a field as optional. For example, `##string` means that the field can be a string, null or not present.
0 commit comments