{
  "description": "LVMSnapshot represents an LVM Snapshot of the lvm volume",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": [
        "string",
        "null"
      ]
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ]
    },
    "spec": {
      "additionalProperties": false,
      "description": "LVMSnapshotSpec defines LVMSnapshot spec",
      "properties": {
        "ownerNodeID": {
          "description": "OwnerNodeID is the Node ID where the volume group is present which is where\nthe snapshot has been provisioned.\nOwnerNodeID can not be edited after the snapshot has been provisioned.",
          "minLength": 1,
          "type": "string"
        },
        "snapSize": {
          "description": "SnapSize specifies the space reserved for the snapshot",
          "type": [
            "string",
            "null"
          ]
        },
        "thinProvision": {
          "description": "ThinProvision specifies whether the snapshot is thin-provisioned or not.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "volGroup": {
          "description": "VolGroup specifies the name of the volume group where the snapshot has been created.",
          "type": "string"
        }
      },
      "required": [
        "ownerNodeID",
        "volGroup"
      ],
      "type": "object"
    },
    "status": {
      "additionalProperties": false,
      "description": "SnapStatus string that reflects if the snapshot was created successfully",
      "properties": {
        "lvSize": {
          "description": "LvSize specifies the size allocated for the snapshot in the VG",
          "oneOf": [
            {
              "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$",
              "type": "string"
            },
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "x-kubernetes-int-or-string": true
        },
        "state": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    }
  },
  "required": [
    "spec",
    "status"
  ],
  "type": "object"
}