{
  "id": "object_dimensions",
  "kind": "datatype",
  "status": "draft",
  "name": "Object dimensions as text",
  "doc": "Size of a physical object written as one text value, two or three measurements joined by a multiplication sign and followed by a unit, such as 30х40 см or 68 x 82 cm. Museum catalogues, auction houses and shops use this form for paintings, prints and goods. The sign is a Latin x, a Cyrillic х or ×, and the order of the measurements is not fixed. Single measurements in their own columns are the datatypes height, width and length.",
  "is_pii": false,
  "categories": [
    "values",
    "common"
  ],
  "langs": [
    "common"
  ],
  "regexp": "^\\d+(?:[.,]\\d+)?\\s*[xXхХ×]\\s*\\d+(?:[.,]\\d+)?(?:\\s*[xXхХ×]\\s*\\d+(?:[.,]\\d+)?)?\\s*(?:мм|см|м|mm|cm|m|in)\\.?$",
  "examples": [
    {
      "value": "30х40 см",
      "description": "Cyrillic х as the multiplication sign",
      "valid": true
    },
    {
      "value": "25х20.5 см",
      "valid": true
    },
    {
      "value": "68 x 82 cm",
      "valid": true
    },
    {
      "value": "10 x 15 x 2 cm",
      "description": "three measurements",
      "valid": true
    },
    {
      "value": "1920x1080",
      "description": "screen resolution, no unit",
      "valid": false
    },
    {
      "value": "30 см",
      "description": "one measurement is a length",
      "valid": false
    }
  ],
  "translations": {
    "ru": {
      "name": "Размеры предмета"
    }
  },
  "quality": {
    "score": 65,
    "missing": [
      "source link",
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/values/object_dimensions.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/values/object_dimensions.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/values/object_dimensions.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/object_dimensions",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/object_dimensions.json"
  }
}