{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "apiVersion": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "properties": {
        "features": {
          "properties": {
            "attributes": {
              "additionalProperties": {
                "properties": {
                  "elements": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "elements"
                ],
                "type": "object"
              },
              "type": "object"
            },
            "flags": {
              "additionalProperties": {
                "properties": {
                  "elements": {
                    "additionalProperties": {
                      "type": "object"
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "elements"
                ],
                "type": "object"
              },
              "type": "object"
            },
            "instances": {
              "additionalProperties": {
                "properties": {
                  "elements": {
                    "items": {
                      "properties": {
                        "attributes": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "type": "object"
                        }
                      },
                      "required": [
                        "attributes"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "elements"
                ],
                "type": "object"
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}
