{
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": "string"
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "description": "Spec is the desired state of the ui plugin.",
      "properties": {
        "plugin": {
          "description": "UIPluginEntry represents an ui plugin.",
          "properties": {
            "compressedEndpoint": {
              "description": "CompressedEndpoint link to a targz file that contains the content of the plugin.",
              "type": "string"
            },
            "endpoint": {
              "description": "Endpoint from where to fetch the contents of the plugin.",
              "type": "string"
            },
            "metadata": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "Metadata of the plugin.",
              "type": "object"
            },
            "name": {
              "description": "Name of the plugin.",
              "type": "string"
            },
            "noAuth": {
              "default": false,
              "description": "NoAuth a flag that tells if the plugin should be accessible without authentication.\nDefaults to false.",
              "type": "boolean"
            },
            "noCache": {
              "default": false,
              "description": "NoCache a flag that tells if the plugin should be cached or not.\nDefaults to false.",
              "type": "boolean"
            },
            "version": {
              "description": "Version of the plugin.",
              "type": "string"
            }
          },
          "type": "object",
          "additionalProperties": false
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "Status is the observed state of the ui plugin.",
      "properties": {
        "cacheState": {
          "description": "CacheState is the cache status of the plugin.",
          "nullable": true,
          "type": "string"
        },
        "error": {
          "description": "Error is the error message if any.",
          "type": "string"
        },
        "observedGeneration": {
          "description": "ObservedGeneration is used by Rancher controller to track the latest generation of the resource that it triggered on.",
          "format": "int64",
          "type": "integer"
        },
        "ready": {
          "default": false,
          "description": "Ready is the readiness of the plugin.\nDefaults to false.",
          "type": "boolean"
        },
        "retryAt": {
          "description": "RetryAt is the time at which the plugin should be retried.",
          "format": "date-time",
          "type": "string"
        },
        "retryNumber": {
          "description": "RetryNumber is the number of times the plugin has been retried.",
          "type": "integer"
        }
      },
      "required": [
        "observedGeneration"
      ],
      "type": "object",
      "additionalProperties": false
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}
