{
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.",
      "type": "string"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "description": "ApiResourceSpec defines the desired state of ApiResource.",
      "properties": {
        "configuration": {
          "description": "Resource Configuration, arbitrary map of key-values",
          "type": "object",
          "x-kubernetes-preserve-unknown-fields": true
        },
        "enabled": {
          "default": true,
          "description": "Is resource enabled or not?",
          "type": "boolean"
        },
        "name": {
          "description": "Resource Name",
          "type": "string"
        },
        "type": {
          "description": "Resource Type",
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "type": "object"
    }
  },
  "type": "object"
}
