{
  "description": "S3 Bucket Instance",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More 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": "S3BucketSpec defines the desired state of S3Bucket",
      "properties": {
        "s3DeletionPolicy": {
          "default": "delete",
          "enum": [
            "delete",
            "retain"
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "s3SubuserBinding": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "access": {
                "default": "read",
                "description": "access of the subuser which can be read or write",
                "enum": [
                  "read",
                  "write"
                ],
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "description": "name of the subuser",
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "s3UserRef": {
          "type": "string"
        }
      },
      "required": [
        "s3UserRef"
      ],
      "type": [
        "object",
        "null"
      ]
    },
    "status": {
      "additionalProperties": false,
      "description": "S3BucketStatus defines the observed state of S3Bucket",
      "properties": {
        "created": {
          "default": false,
          "type": [
            "boolean",
            "null"
          ]
        },
        "policy": {
          "type": [
            "string",
            "null"
          ]
        },
        "reason": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "type": "object"
}