{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "apiVersion": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "properties": {
        "selector": {
          "nullable": true,
          "properties": {
            "matchExpressions": {
              "items": {
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "operator": {
                    "type": "string"
                  },
                  "values": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array",
                    "x-kubernetes-list-type": "atomic"
                  }
                },
                "required": [
                  "key",
                  "operator"
                ],
                "type": "object"
              },
              "type": "array",
              "x-kubernetes-list-type": "atomic"
            },
            "matchLabels": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            }
          },
          "type": "object",
          "x-kubernetes-map-type": "atomic"
        }
      },
      "type": "object"
    },
    "status": {
      "properties": {
        "clusterCount": {
          "type": "integer"
        },
        "conditions": {
          "items": {
            "properties": {
              "lastTransitionTime": {
                "type": "string"
              },
              "lastUpdateTime": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "status",
              "type"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "display": {
          "properties": {
            "readyBundles": {
              "nullable": true,
              "type": "string"
            },
            "readyClusters": {
              "nullable": true,
              "type": "string"
            },
            "state": {
              "nullable": true,
              "type": "string"
            }
          },
          "type": "object"
        },
        "nonReadyClusterCount": {
          "type": "integer"
        },
        "nonReadyClusters": {
          "items": {
            "type": "string"
          },
          "nullable": true,
          "type": "array"
        },
        "resourceCounts": {
          "properties": {
            "desiredReady": {
              "type": "integer"
            },
            "missing": {
              "type": "integer"
            },
            "modified": {
              "type": "integer"
            },
            "notReady": {
              "type": "integer"
            },
            "orphaned": {
              "type": "integer"
            },
            "ready": {
              "type": "integer"
            },
            "unknown": {
              "type": "integer"
            },
            "waitApplied": {
              "type": "integer"
            }
          },
          "type": "object"
        },
        "summary": {
          "properties": {
            "desiredReady": {
              "type": "integer"
            },
            "errApplied": {
              "type": "integer"
            },
            "modified": {
              "type": "integer"
            },
            "nonReadyResources": {
              "items": {
                "properties": {
                  "bundleState": {
                    "nullable": true,
                    "type": "string"
                  },
                  "message": {
                    "nullable": true,
                    "type": "string"
                  },
                  "modifiedStatus": {
                    "items": {
                      "properties": {
                        "apiVersion": {
                          "nullable": true,
                          "type": "string"
                        },
                        "delete": {
                          "type": "boolean"
                        },
                        "exist": {
                          "type": "boolean"
                        },
                        "kind": {
                          "nullable": true,
                          "type": "string"
                        },
                        "missing": {
                          "type": "boolean"
                        },
                        "name": {
                          "nullable": true,
                          "type": "string"
                        },
                        "namespace": {
                          "nullable": true,
                          "type": "string"
                        },
                        "patch": {
                          "nullable": true,
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "nullable": true,
                    "type": "array"
                  },
                  "name": {
                    "nullable": true,
                    "type": "string"
                  },
                  "nonReadyStatus": {
                    "items": {
                      "properties": {
                        "apiVersion": {
                          "nullable": true,
                          "type": "string"
                        },
                        "kind": {
                          "nullable": true,
                          "type": "string"
                        },
                        "name": {
                          "nullable": true,
                          "type": "string"
                        },
                        "namespace": {
                          "nullable": true,
                          "type": "string"
                        },
                        "summary": {
                          "properties": {
                            "error": {
                              "type": "boolean"
                            },
                            "message": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "state": {
                              "type": "string"
                            },
                            "transitioning": {
                              "type": "boolean"
                            }
                          },
                          "type": "object"
                        },
                        "uid": {
                          "nullable": true,
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "nullable": true,
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "nullable": true,
              "type": "array"
            },
            "notReady": {
              "type": "integer"
            },
            "outOfSync": {
              "type": "integer"
            },
            "pending": {
              "type": "integer"
            },
            "ready": {
              "type": "integer"
            },
            "waitApplied": {
              "type": "integer"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
