PropertyValue¶
A PropertyValue adds a characteristic that has no field of its own, as a name and a typed value, such as screen size: 14 inches. Use the value field that matches the type: valueText, valueNumber, valueBoolean, valueDateTime or valueReference, and unitCode for a unit.
Modeled on schema.org/PropertyValue ยท JSON Schema
Example¶
{
"name": [
{
"at_language": "en",
"at_value": "Screen size"
}
],
"valueNumber": 14,
"unitCode": "INH"
}
Fields¶
| Field | Type | Required | Description |
|---|---|---|---|
at_type |
PropertyValue |
JSON-LD @type, the object's type name. |
|
propertyID |
string | A commonly used identifier for the characteristic represented by the property, e.g. a manufacturer or a standard code for a property. | |
name |
list of LanguageTaggedString | The name of the property | |
valueText |
string | Text value of the property | |
valueNumber |
number | Numeric value of the property | |
valueBoolean |
boolean | Boolean value of the property | |
valueDateTime |
date-time | Date-time value of the property | |
unitCode |
string | The unit of measurement given using the UN/CEFACT Common Code (3 characters) or URL. | |
unitText |
string | A string or text indicating the unit of measurement. | |
minValue |
number | The lower value of some characteristic or property. | |
maxValue |
number | The upper value of some characteristic or property. | |
valueReference |
Reference (external URL) | A pointer to a secondary value that provides additional information. |