Schemas / Art (CDWA core)
rig.art.dimensions
v0.31.0 · draft 4 fields 0 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
heightMillimetres |
float | optional | Height, millimetres |
widthMillimetres |
float | optional | Width, millimetres |
depthMillimetres |
float | optional | Depth, millimetres |
weightGrams |
float | optional | Weight, grams |
Measurements of a work. Format when present.
Field meanings follow CDWA Measurements and Object ID dimensions.
All fields optional. Emit what the source has. An empty component is invalid - attach at least one field.
Convert centimetres and inches on import. Do not store a display string (71 x 93 cm) beside these values.
JSON Schema
Resolves at https://rig.works/schemas/rig.art.dimensions.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.art.dimensions.schema.json",
"title": "rig.art.dimensions",
"type": "object",
"additionalProperties": false,
"properties": {
"heightMillimetres": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"widthMillimetres": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"depthMillimetres": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"weightGrams": {
"$ref": "./_defs.schema.json#/$defs/float"
}
},
"description": "Measurements. Field meanings follow CDWA Measurements / Object ID. Values in millimetres and grams.",
"minProperties": 1
}