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
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 Key | Property |
|---|---|
max | maxValue |
maxlength | valueMaxLength |
min | minValue |
minlength | valueMinLength |
multiple | multipleValues |
name | valueName |
pattern | valuePattern |
readonly | readonlyValue |
required | valueRequired |
step | stepValue |
value | defaultValue |