{
  "id": "clothing_size",
  "kind": "datatype",
  "status": "draft",
  "name": "Clothing size (letter size: XS, S, M, L, XL)",
  "doc": "Letter size of a garment, cap, glove or helmet in a size chart or the options of a product: XXS, XS, S, M, L, XL, XXL, 3XL, the forms 2X and 1X of plus sizes, X-Small and X-Large in words, combined sizes such as S/M, tall sizes such as XLT, and One Size. Size charts put it beside the chest, waist and hip measures and the numeric sizes of each country (US 4, EU 36), which are not letter sizes. A letter alone (S, M, L) is a size only in a column named after the size, and Small, Medium and Large in words alone are also the sizes of companies, drinks and parcels.",
  "parent": "category",
  "is_pii": false,
  "categories": [
    "ecommerce"
  ],
  "langs": [
    "common",
    "en"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "XS",
      "valid": true
    },
    {
      "value": "M",
      "valid": true
    },
    {
      "value": "XL",
      "valid": true
    },
    {
      "value": "XXL",
      "valid": true
    },
    {
      "value": "3XL",
      "valid": true
    },
    {
      "value": "X-Large",
      "description": "in words",
      "valid": true
    },
    {
      "value": "One Size",
      "valid": true
    },
    {
      "value": "36",
      "description": "a numeric size",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Clothing_sizes"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/US_standard_clothing_size"
    },
    {
      "type": "schema.org",
      "url": "https://schema.org/size"
    }
  ],
  "translations": {
    "ru": {
      "name": "Размер одежды (буквенный: XS, S, M, L, XL)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "clothingsizebyname",
        "type": "field",
        "match": "regex",
        "file": "common/ecommerce.yaml"
      },
      {
        "rule": "clothingsizevalue",
        "type": "data",
        "match": "func",
        "file": "common/ecommerce.yaml"
      }
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "regexp",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/ecommerce/clothing_size.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/ecommerce/clothing_size.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/ecommerce/clothing_size.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/clothing_size",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/clothing_size.json"
  }
}