mdmodels 0.2.9

A tool to generate models, code and schemas from markdown files
Documentation
{
  "name": "SI Unit",
  "objects": [
    {
      "name": "UnitDefinition",
      "attributes": [
        {
          "name": "id",
          "multiple": false,
          "is_id": false,
          "dtypes": [
            "string"
          ],
          "docstring": "Unique identifier of the unit definition.",
          "options": [],
          "term": "schema:identifier",
          "required": false,
          "xml": {
            "is_attr": true,
            "name": "id",
            "wrapped": null
          },
          "is_enum": false,
          "position": {
            "line": 26,
            "column": {
              "start": 1,
              "end": 5
            },
            "offset": {
              "start": 884,
              "end": 1259
            }
          }
        },
        {
          "name": "name",
          "multiple": false,
          "is_id": false,
          "dtypes": [
            "string"
          ],
          "docstring": "Common or human-readable name of the unit definition.",
          "options": [],
          "term": "rdfs:label",
          "required": false,
          "xml": {
            "is_attr": true,
            "name": "name",
            "wrapped": null
          },
          "is_enum": false,
          "position": {
            "line": 31,
            "column": {
              "start": 1,
              "end": 7
            },
            "offset": {
              "start": 1006,
              "end": 1137
            }
          }
        },
        {
          "name": "base_units",
          "multiple": true,
          "is_id": false,
          "dtypes": [
            "BaseUnit"
          ],
          "docstring": "Base or factor units that define this unit.",
          "options": [],
          "term": "qudt:factorUnit",
          "required": false,
          "xml": {
            "is_attr": false,
            "name": "base_units",
            "wrapped": null
          },
          "is_enum": false,
          "position": {
            "line": 36,
            "column": {
              "start": 1,
              "end": 13
            },
            "offset": {
              "start": 1137,
              "end": 1259
            }
          }
        }
      ],
      "docstring": "Represents a unit definition that is based on the SI unit system. A unit may be a base unit or a derived unit composed of one or more factor units.",
      "term": "qudt:Unit",
      "position": {
        "line": 21,
        "column": {
          "start": 1,
          "end": 31
        },
        "offset": {
          "start": 703,
          "end": 734
        }
      }
    },
    {
      "name": "BaseUnit",
      "attributes": [
        {
          "name": "kind",
          "multiple": false,
          "is_id": false,
          "dtypes": [
            "UnitType"
          ],
          "docstring": "Kind of the base unit (e.g., meter, kilogram, second).",
          "options": [],
          "term": "qudt:unit",
          "required": true,
          "xml": {
            "is_attr": true,
            "name": "kind",
            "wrapped": null
          },
          "is_enum": true,
          "position": {
            "line": 45,
            "column": {
              "start": 1,
              "end": 11
            },
            "offset": {
              "start": 1368,
              "end": 1902
            }
          }
        },
        {
          "name": "exponent",
          "multiple": false,
          "is_id": false,
          "dtypes": [
            "integer"
          ],
          "docstring": "Exponent of the base unit in the unit definition.",
          "options": [],
          "term": "qudt:exponent",
          "required": true,
          "xml": {
            "is_attr": true,
            "name": "exponent",
            "wrapped": null
          },
          "is_enum": false,
          "position": {
            "line": 50,
            "column": {
              "start": 1,
              "end": 15
            },
            "offset": {
              "start": 1505,
              "end": 1648
            }
          }
        },
        {
          "name": "multiplier",
          "multiple": false,
          "is_id": false,
          "dtypes": [
            "float"
          ],
          "docstring": "Multiplier applied to the base unit.",
          "options": [],
          "term": "qudt:multiplier",
          "required": false,
          "xml": {
            "is_attr": true,
            "name": "multiplier",
            "wrapped": null
          },
          "is_enum": false,
          "position": {
            "line": 55,
            "column": {
              "start": 1,
              "end": 13
            },
            "offset": {
              "start": 1648,
              "end": 1778
            }
          }
        },
        {
          "name": "scale",
          "multiple": false,
          "is_id": false,
          "dtypes": [
            "float"
          ],
          "docstring": "Power-of-ten scale applied to the base unit.",
          "options": [],
          "term": "qudt:scale",
          "required": false,
          "xml": {
            "is_attr": true,
            "name": "scale",
            "wrapped": null
          },
          "is_enum": false,
          "position": {
            "line": 60,
            "column": {
              "start": 1,
              "end": 8
            },
            "offset": {
              "start": 1778,
              "end": 1902
            }
          }
        }
      ],
      "docstring": "Represents a base or factor unit contributing to a derived unit definition.",
      "term": "qudt:FactorUnit",
      "position": {
        "line": 41,
        "column": {
          "start": 1,
          "end": 31
        },
        "offset": {
          "start": 1259,
          "end": 1290
        }
      }
    }
  ],
  "enums": [
    {
      "name": "UnitType",
      "mappings": {
        "AMPERE": "ampere",
        "AVOGADRO": "avogadro",
        "BECQUEREL": "becquerel",
        "CANDELA": "candela",
        "CELSIUS": "celsius",
        "COULOMB": "coulomb",
        "DIMENSIONLESS": "dimensionless",
        "FARAD": "farad",
        "GRAM": "gram",
        "GRAY": "gray",
        "HENRY": "henry",
        "HERTZ": "hertz",
        "ITEM": "item",
        "JOULE": "joule",
        "KATAL": "katal",
        "KELVIN": "kelvin",
        "KILOGRAM": "kilogram",
        "LITRE": "litre",
        "LUMEN": "lumen",
        "LUX": "lux",
        "METRE": "metre",
        "MOLE": "mole",
        "NEWTON": "newton",
        "OHM": "ohm",
        "PASCAL": "pascal",
        "RADIAN": "radian",
        "SECOND": "second",
        "SIEMENS": "siemens",
        "SIEVERT": "sievert",
        "STERADIAN": "steradian",
        "TESLA": "tesla",
        "VOLT": "volt",
        "WATT": "watt",
        "WEBER": "weber"
      },
      "docstring": "",
      "position": {
        "line": 68,
        "column": {
          "start": 1,
          "end": 13
        },
        "offset": {
          "start": 1919,
          "end": 1932
        }
      }
    }
  ],
  "config": {
    "id": null,
    "id-field": true,
    "prefixes": {
      "xsd": "http://www.w3.org/2001/XMLSchema#",
      "qudt": "http://qudt.org/schema/qudt#",
      "om": "http://www.ontology-of-units-of-measure.org/resource/om-2/",
      "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
      "schema": "http://schema.org/",
      "unit": "http://qudt.org/vocab/unit#"
    },
    "nsmap": null,
    "repo": "https://fairchemistry.org/md-models/",
    "prefix": "mdmodels",
    "imports": {},
    "allow-empty": false
  }
}