{
  "$id": "http://example.com/entry-schema",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "JSON Schema for an fstab entry",
  "type": "object",
  "required": [
    "storage"
  ],
  "properties": {
    "storage": {
      "type": "object",
      "anyOf": [
        {
          "$ref": "#/definitions/diskDevice"
        },
        {
          "$ref": "#/definitions/diskUUID"
        },
        {},
        {
          "$ref": "#/definitions/tmpfs"
        }
      ]
    }
  },
  "definitions": {
    "diskDevice": {},
    "diskUUID": {},
    "tmpfs": {}
  }
}