We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any
@id
description
String
minLength
maxLength
pattern
Number
Date
DateTime
Property
min
1900-01-01
aaa
1
max
2010-01-01
bbb
9
Intersection
Union
types
List
minItems
maxItems
Object
properties
additionalProperties
minProperties
maxProperties
key
required
minProperties == 1
Tuple
tuple
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Any
@id
- for referencing across schema and to other schemasdescription
- user description of typeString
minLength
- string validationmaxLength
- string validationpattern
- string validationString
,Number
,Date
,DateTime
,Property
min
- minimum valid value (e.g.1900-01-01
,aaa
,1
)max
- maximum valid value (e.g.2010-01-01
,bbb
,9
)Intersection
,Union
types
- list of valid typesList
minItems
- minimum number of itemsmaxItems
- maximum number of itemsObject
properties
- list of valid propertiesadditionalProperties
- validate additional properties not matched (e.g. "force invalid here")Property
,Object
minProperties
- minimum matching properties when using key schemamaxProperties
- maximum matching properties when using key schemaProperty
key
- allow key to be a schema or primitive valuerequired
- equal tominProperties == 1
Tuple
tuple
- list of valid properties for ordered tupleThe text was updated successfully, but these errors were encountered: