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
{ "@context": "http://schema.org",
"@type": "SearchAction",
"target": "http://example.com/search?q={q}",
"query-input": "name=q optional" }
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 |