-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Any@id- for referencing across schema and to other schemasdescription- user description of type
StringminLength- string validationmaxLength- string validationpattern- string validation
String,Number,Date,DateTime,Propertymin- minimum valid value (e.g.1900-01-01,aaa,1)max- maximum valid value (e.g.2010-01-01,bbb,9)
Intersection,Uniontypes- list of valid types
ListminItems- minimum number of itemsmaxItems- maximum number of items
Objectproperties- list of valid propertiesadditionalProperties- validate additional properties not matched (e.g. "force invalid here")
Property,ObjectminProperties- minimum matching properties when using key schemamaxProperties- maximum matching properties when using key schema
Propertykey- allow key to be a schema or primitive valuerequired- equal tominProperties == 1
Tupletuple- list of valid properties for ordered tuple