b867d33d2a51f4d3…

Created Oct 5, 20268 fields1 collection using this schema

Labels

No labels yet.

Fields

NameTypeInfo
baseUnitIdstringnull
→ Unit
categoryIdstring
→ Category
isBaseUnitboolean
namestring
symbolstring
systemstring
toBaseFactornumber
toBaseOffsetnumber

JSON Schema

{
  "description": "A measurement unit with conversion factors to its category's base unit.",
  "properties": {
    "baseUnitId": {
      "description": "The base unit this converts to. Null for base units themselves.",
      "type": [
        "string",
        "null"
      ],
      "x-ref-type": "Unit"
    },
    "categoryId": {
      "type": "string",
      "x-ref-type": "Category"
    },
    "isBaseUnit": {
      "type": "boolean"
    },
    "name": {
      "type": "string"
    },
    "symbol": {
      "type": "string"
    },
    "system": {
      "enum": [
        "SI",
        "Imperial",
        "US Customary",
        "CGS",
        "Metric",
        "Natural",
        "Universal"
      ],
      "type": "string"
    },
    "toBaseFactor": {
      "description": "Multiply the value by this factor to convert to the base unit.",
      "type": "number"
    },
    "toBaseOffset": {
      "description": "Add this after multiplying by toBaseFactor (used for temperature scales).",
      "type": "number"
    }
  },
  "required": [
    "name",
    "symbol",
    "categoryId",
    "system",
    "toBaseFactor",
    "isBaseUnit"
  ],
  "type": "object"
}

Used by 1 collection

reference/unitsas Unit · 1 version

Full hash:b867d33d2a51f4d30866f182e9123ca2f8d27790bfdf8186c9c0bb9bdc900656

ID:b867d33d2a51f4d30866f182e9123ca2f8d27790bfdf8186c9c0bb9bdc900656