{
  "description": "ConsoleQuickStart is an extension for guiding user through various\nworkflows in the OpenShift web console.\n\nCompatibility level 2: Stable within a major release for a minimum of 9 months or 3 minor releases (whichever is longer).",
  "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": "ConsoleQuickStartSpec is the desired quick start configuration.",
      "properties": {
        "accessReviewResources": {
          "description": "accessReviewResources contains a list of resources that the user's access\nwill be reviewed against in order for the user to complete the Quick Start.\nThe Quick Start will be hidden if any of the access reviews fail.",
          "items": {
            "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface",
            "properties": {
              "fieldSelector": {
                "description": "fieldSelector describes the limitation on access based on field.  It can only limit access, not broaden it.",
                "properties": {
                  "rawSelector": {
                    "description": "rawSelector is the serialization of a field selector that would be included in a query parameter.\nWebhook implementations are encouraged to ignore rawSelector.\nThe kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.",
                    "type": "string"
                  },
                  "requirements": {
                    "description": "requirements is the parsed interpretation of a field selector.\nAll requirements must be met for a resource instance to match the selector.\nWebhook implementations should handle requirements, but how to handle them is up to the webhook.\nSince requirements can only limit the request, it is safe to authorize as unlimited request if the requirements\nare not understood.",
                    "items": {
                      "description": "FieldSelectorRequirement is a selector that contains values, a key, and an operator that\nrelates the key and values.",
                      "properties": {
                        "key": {
                          "description": "key is the field selector key that the requirement applies to.",
                          "type": "string"
                        },
                        "operator": {
                          "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist.\nThe list of operators may grow in the future.",
                          "type": "string"
                        },
                        "values": {
                          "description": "values is an array of string values.\nIf the operator is In or NotIn, the values array must be non-empty.\nIf the operator is Exists or DoesNotExist, the values array must be empty.",
                          "items": {
                            "type": "string"
                          },
                          "type": "array",
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "required": [
                        "key",
                        "operator"
                      ],
                      "type": "object",
                      "additionalProperties": false
                    },
                    "type": "array",
                    "x-kubernetes-list-type": "atomic"
                  }
                },
                "type": "object",
                "additionalProperties": false
              },
              "group": {
                "description": "Group is the API Group of the Resource.  \"*\" means all.",
                "type": "string"
              },
              "labelSelector": {
                "description": "labelSelector describes the limitation on access based on labels.  It can only limit access, not broaden it.",
                "properties": {
                  "rawSelector": {
                    "description": "rawSelector is the serialization of a field selector that would be included in a query parameter.\nWebhook implementations are encouraged to ignore rawSelector.\nThe kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.",
                    "type": "string"
                  },
                  "requirements": {
                    "description": "requirements is the parsed interpretation of a label selector.\nAll requirements must be met for a resource instance to match the selector.\nWebhook implementations should handle requirements, but how to handle them is up to the webhook.\nSince requirements can only limit the request, it is safe to authorize as unlimited request if the requirements\nare not understood.",
                    "items": {
                      "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.",
                      "properties": {
                        "key": {
                          "description": "key is the label key that the selector applies to.",
                          "type": "string"
                        },
                        "operator": {
                          "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.",
                          "type": "string"
                        },
                        "values": {
                          "description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.",
                          "items": {
                            "type": "string"
                          },
                          "type": "array",
                          "x-kubernetes-list-type": "atomic"
                        }
                      },
                      "required": [
                        "key",
                        "operator"
                      ],
                      "type": "object",
                      "additionalProperties": false
                    },
                    "type": "array",
                    "x-kubernetes-list-type": "atomic"
                  }
                },
                "type": "object",
                "additionalProperties": false
              },
              "name": {
                "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.",
                "type": "string"
              },
              "namespace": {
                "description": "Namespace is the namespace of the action being requested.  Currently, there is no distinction between no namespace and all namespaces\n\"\" (empty) is defaulted for LocalSubjectAccessReviews\n\"\" (empty) is empty for cluster-scoped resources\n\"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview",
                "type": "string"
              },
              "resource": {
                "description": "Resource is one of the existing resource types.  \"*\" means all.",
                "type": "string"
              },
              "subresource": {
                "description": "Subresource is one of the existing resource types.  \"\" means none.",
                "type": "string"
              },
              "verb": {
                "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.  \"*\" means all.",
                "type": "string"
              },
              "version": {
                "description": "Version is the API Version of the Resource.  \"*\" means all.",
                "type": "string"
              }
            },
            "type": "object",
            "additionalProperties": false
          },
          "type": "array"
        },
        "conclusion": {
          "description": "conclusion sums up the Quick Start and suggests the possible next steps. (includes markdown)",
          "type": "string"
        },
        "description": {
          "description": "description is the description of the Quick Start. (includes markdown)",
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        },
        "displayName": {
          "description": "displayName is the display name of the Quick Start.",
          "minLength": 1,
          "type": "string"
        },
        "durationMinutes": {
          "description": "durationMinutes describes approximately how many minutes it will take to complete the Quick Start.",
          "minimum": 1,
          "type": "integer"
        },
        "icon": {
          "description": "icon is a base64 encoded image that will be displayed beside the Quick Start display name.\nThe icon should be an vector image for easy scaling. The size of the icon should be 40x40.",
          "type": "string"
        },
        "introduction": {
          "description": "introduction describes the purpose of the Quick Start. (includes markdown)",
          "minLength": 1,
          "type": "string"
        },
        "nextQuickStart": {
          "description": "nextQuickStart is a list of the following Quick Starts, suggested for the user to try.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "prerequisites": {
          "description": "prerequisites contains all prerequisites that need to be met before taking a Quick Start. (includes markdown)",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "tags": {
          "description": "tags is a list of strings that describe the Quick Start.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "tasks": {
          "description": "tasks is the list of steps the user has to perform to complete the Quick Start.",
          "items": {
            "description": "ConsoleQuickStartTask is a single step in a Quick Start.",
            "properties": {
              "description": {
                "description": "description describes the steps needed to complete the task. (includes markdown)",
                "minLength": 1,
                "type": "string"
              },
              "review": {
                "description": "review contains instructions to validate the task is complete. The user will select 'Yes' or 'No'.\nusing a radio button, which indicates whether the step was completed successfully.",
                "properties": {
                  "failedTaskHelp": {
                    "description": "failedTaskHelp contains suggestions for a failed task review and is shown at the end of task. (includes markdown)",
                    "minLength": 1,
                    "type": "string"
                  },
                  "instructions": {
                    "description": "instructions contains steps that user needs to take in order\nto validate his work after going through a task. (includes markdown)",
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "failedTaskHelp",
                  "instructions"
                ],
                "type": "object",
                "additionalProperties": false
              },
              "summary": {
                "description": "summary contains information about the passed step.",
                "properties": {
                  "failed": {
                    "description": "failed briefly describes the unsuccessfully passed task. (includes markdown)",
                    "maxLength": 128,
                    "minLength": 1,
                    "type": "string"
                  },
                  "success": {
                    "description": "success describes the succesfully passed task.",
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "failed",
                  "success"
                ],
                "type": "object",
                "additionalProperties": false
              },
              "title": {
                "description": "title describes the task and is displayed as a step heading.",
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "description",
              "title"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "minItems": 1,
          "type": "array"
        }
      },
      "required": [
        "description",
        "displayName",
        "durationMinutes",
        "introduction",
        "tasks"
      ],
      "type": "object",
      "additionalProperties": false
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}
