{
  "properties": {
    "apiVersion": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "properties": {
        "autoAllocateBlocks": {
          "default": true,
          "type": "boolean"
        },
        "maxBlocksPerHost": {
          "default": 0,
          "format": "int32",
          "maximum": 1000000,
          "minimum": 0,
          "type": "integer"
        },
        "strictAffinity": {
          "default": false,
          "type": "boolean"
        }
      },
      "required": [
        "autoAllocateBlocks",
        "strictAffinity"
      ],
      "type": "object",
      "additionalProperties": false
    }
  },
  "required": [
    "metadata",
    "spec"
  ],
  "type": "object"
}
