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

Commit df808ac

Browse files
author
Chrusty
committed
Regenerated samples with new options
1 parent 7eb835d commit df808ac

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

jsonschemas/FieldOptions.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@
1111
"required": {
1212
"type": "boolean",
1313
"description": "Fields tagged with this will be marked as \"required\" in generated schemas"
14+
},
15+
"min_length": {
16+
"type": "integer",
17+
"description": "Fields tagged with this will constrain strings using the \"minLength\" keyword in generated schemas"
18+
},
19+
"max_length": {
20+
"type": "integer",
21+
"description": "Fields tagged with this will constrain strings using the \"maxLength\" keyword in generated schemas"
22+
},
23+
"pattern": {
24+
"type": "string",
25+
"description": "Fields tagged with this will constrain strings using the \"pattern\" keyword in generated schemas"
1426
}
1527
},
1628
"additionalProperties": true,

0 commit comments

Comments
 (0)