{
  "properties": {
    "apiVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "type": [
        "string",
        "null"
      ]
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ]
    },
    "spec": {
      "additionalProperties": false,
      "default": {},
      "properties": {
        "accessModes": {
          "default": [
            "ReadWriteOnce"
          ],
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "capacity": {
          "default": "5Gi",
          "type": [
            "string",
            "null"
          ]
        },
        "copyMethod": {
          "default": "Snapshot",
          "enum": [
            "Snapshot",
            "Direct"
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "create": {
          "default": true,
          "type": [
            "boolean",
            "null"
          ]
        },
        "pgid": {
          "default": 1000,
          "type": [
            "integer",
            "null"
          ]
        },
        "puid": {
          "default": 1000,
          "type": [
            "integer",
            "null"
          ]
        },
        "pvcName": {
          "default": "${schema.metadata.name}",
          "type": [
            "string",
            "null"
          ]
        },
        "remoteDeepVerify": {
          "default": true,
          "type": [
            "boolean",
            "null"
          ]
        },
        "scope": {
          "default": "both",
          "enum": [
            "local",
            "remote",
            "both"
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "snapshotClass": {
          "default": "csi-zfs",
          "type": [
            "string",
            "null"
          ]
        },
        "storageClass": {
          "default": "",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    },
    "status": {
      "additionalProperties": false,
      "properties": {
        "conditions": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "lastTransitionTime": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "message": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "observedGeneration": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "state": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "type": "object"
}