Schema.org Validator

Actions: Invalid Textual Constraint Key

This message indicates that the short-hand key used within a textual *-input or *-output property annotation is unsupported. The textual form only supports a limited number of keys with basic values. More complex forms should use a PropertyValueSpecification resource.

Learn more from the official Potential Actions documentation.

Examples

Try it
ERROR service/schema-org#ActionsInvalidPropertyAnnotationConstraintKey

The "optional" key is not a valid short-hand for Action property annotations.

Short-hand Properties

For reference, these are the supported short-hand keys and their corresponding properties.

Short-hand KeyProperty
maxmaxValue
maxlengthvalueMaxLength
minminValue
minlengthvalueMinLength
multiplemultipleValues
namevalueName
patternvaluePattern
readonlyreadonlyValue
requiredvalueRequired
stepstepValue
valuedefaultValue