{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://nao1215.github.io/jsonize/schemas/lsblk/pairs.json",
  "title": "lsblk/pairs",
  "description": "lsblk -P, one quoted key/value line per device",
  "x-jsonize": {
    "definition": "lsblk/pairs",
    "version": 1
  },
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "name": {
        "type": "string"
      },
      "maj_min": {
        "type": "string"
      },
      "rm": {
        "type": "boolean"
      },
      "size": {
        "type": "string"
      },
      "ro": {
        "type": "boolean"
      },
      "type": {
        "type": "string"
      },
      "mountpoint": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "name",
      "maj_min",
      "rm",
      "size",
      "ro",
      "type",
      "mountpoint"
    ]
  }
}
