PropertyValueSpecification
A Property value specification.
Usage: Fewer than 10 domains
Property | Expected Type | Description |
---|---|---|
Properties from PropertyValueSpecification | ||
defaultValue
|
Text or Thing | The default value of the input. For properties that expect a literal, the default is a literal value, for properties that expect an object, it's an ID reference to one of the current values. |
maxValue
|
Number | The upper value of some characteristic or property. |
minValue
|
Number | The lower value of some characteristic or property. |
multipleValues
|
Boolean | Whether multiple values are allowed for the property. Default is false. |
readonlyValue
|
Boolean | Whether or not a property is mutable. Default is false. Specifying this for a property that also has a value makes it act similar to a "hidden" input in an HTML form. |
stepValue
|
Number | The stepValue attribute indicates the granularity that is expected (and required) of the value in a PropertyValueSpecification. |
valueMaxLength
|
Number | Specifies the allowed range for number of characters in a literal value. |
valueMinLength
|
Number | Specifies the minimum allowed range for number of characters in a literal value. |
valueName
|
Text | Indicates the name of the PropertyValueSpecification to be used in URL templates and form encoding in a manner analogous to HTML's input@name. |
valuePattern
|
Text | Specifies a regular expression for testing literal values according to the HTML spec. |
valueRequired
|
Boolean | Whether the property must be filled in to complete the action. Default is false. |
Properties from Thing | ||
additionalType
|
URL | An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally. |
alternateName
|
Text | An alias for the item. |
description
|
Text | A description of the item. |
disambiguatingDescription
|
Text | A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation. |
image
|
ImageObject or URL | An image of the item. This can be a URL or a fully described ImageObject. |
mainEntityOfPage
|
CreativeWork or URL | Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details. Inverse property: mainEntity. |
name
|
Text | The name of the item. |
potentialAction
|
Action | Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role. |
sameAs
|
URL | URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Freebase page, or official website. |
url
|
URL | URL of the item. |
Acknowledgement
The schema.org Actions mechanism benefited from extensive discussions across the Web standards community around W3C, in particular from the Hydra project's community group.
Schema Version 3.1