b867d33d2a51f4d3

Created Jun 12, 20268 fields1 collection using this schema

Labels

No labels yet.

Fields

NameTypeInfo
namestring
symbolstring
systemstring
baseUnitIdstringnull
Unit
categoryIdstring
Category
isBaseUnitboolean
toBaseFactornumber
toBaseOffsetnumber

JSON Schema

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

Used by 1 collection

Full hash:b867d33d2a51f4d30866f182e9123ca2f8d27790bfdf8186c9c0bb9bdc900656

ID:453b80c5-3e81-4a19-b1fe-6cb80684b83e