Weight (mass)
ID weight
DatatypeNot PIIDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Weight of a person, an animal or a product, measured as mass in kilograms, grams, pounds or ounces. Datasets store it as a number, with the unit either in the value, such as "95 lbs.", or in the column name or metadata. The regular expression recognizes only values that carry one of these unit symbols.
- Parent datatype
- Numeric value
numeric - Categories
- All measurable values (percentage, amount and e.t.c), Common
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Schema.org
weight- Sherlock and Sato
weight- Wikidata
- P2067
- Quality
- 100/100
- Metacrafter rules
- no detection rule yet
- Supported by tools
- Doduo, Sato, Sherlock
Regular expression
^\d+(?:[.,]\d+)?\s?(?:kg|g|mg|lbs?|oz)\.?$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 95 lbs. | pounds, abbreviation with a dot |
| 72.5 kg | kilograms |
| 250g | grams without a space |
| 12 oz | ounces |
| kg invalid | unit without a number |
| 5 km invalid | unit of length |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Вес (масса) |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Mass
- wikidata: https://www.wikidata.org/wiki/Property:P2067
- schema.org: https://schema.org/weight
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/weight - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/values/weight.yamlon GitHub