Sha256: e4176fdd6efab01ccb2ea5bcf6a187f1a5ac562f2b1e384d6cba7394084d57c0

Contents?: true

Size: 814 Bytes

Versions: 2

Compression:

Stored size: 814 Bytes

Contents

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "measure.json#",
  "type": "object",
  "title": "",
  "description": "Number and type of units",
  "required": ["type", "value", "unitOfMeasure"],
  "additionalProperties": true,
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of measurement.",
      "example": "",
      "translation": {},
      "enum": ["distance", "length", "vertical", "angle"]
    },
    "value": {
      "type": "number",
      "description": "The number of units in the measurement.",
      "example": "",
      "translation": {}
    },
    "unitOfMeasure": {
      "type": "string",
      "description": "The type of units to associated with the value.",
      "example": "",
      "translation": {},
      "minLength": 1
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adiwg-mdjson_schemas-2.0.0.pre.alpha.1 schema/measure.json
adiwg-mdjson_schemas-2.0.0.pre.alpha schema/measure.json