{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "apiVersion": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "properties": {
        "bindings": {
          "items": {
            "properties": {
              "clusterResourceSetName": {
                "type": "string"
              },
              "resources": {
                "items": {
                  "properties": {
                    "applied": {
                      "type": "boolean"
                    },
                    "hash": {
                      "type": "string"
                    },
                    "kind": {
                      "enum": [
                        "Secret",
                        "ConfigMap"
                      ],
                      "type": "string"
                    },
                    "lastAppliedTime": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "name": {
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "applied",
                    "kind",
                    "name"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "clusterResourceSetName"
            ],
            "type": "object"
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
