Represents the possible values of a schema type's validation field.
validation
If the schema has not been run through inferFromSchema from sanity/validation then value could be a function.
inferFromSchema
sanity/validation
inferFromSchema mutates the schema converts this value to an array of Rule instances.
Rule
Represents the possible values of a schema type's
validation
field.If the schema has not been run through
inferFromSchema
fromsanity/validation
then value could be a function.inferFromSchema
mutates the schema converts this value to an array ofRule
instances.