{
    "description": "ConsoleNotification is the extension for configuring openshift web console notifications. \n Compatibility 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. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
            "type": "string"
        },
        "metadata": {
            "type": "object"
        },
        "spec": {
            "description": "ConsoleNotificationSpec is the desired console notification configuration.",
            "properties": {
                "backgroundColor": {
                    "description": "backgroundColor is the color of the background for the notification as CSS data type color.",
                    "type": "string"
                },
                "color": {
                    "description": "color is the color of the text for the notification as CSS data type color.",
                    "type": "string"
                },
                "link": {
                    "description": "link is an object that holds notification link details.",
                    "properties": {
                        "href": {
                            "description": "href is the absolute secure URL for the link (must use https)",
                            "pattern": "^https://",
                            "type": "string"
                        },
                        "text": {
                            "description": "text is the display text for the link",
                            "type": "string"
                        }
                    },
                    "required": [
                        "href",
                        "text"
                    ],
                    "type": "object",
                    "additionalProperties": false
                },
                "location": {
                    "description": "location is the location of the notification in the console. Valid values are: \"BannerTop\", \"BannerBottom\", \"BannerTopBottom\".",
                    "pattern": "^(BannerTop|BannerBottom|BannerTopBottom)$",
                    "type": "string"
                },
                "text": {
                    "description": "text is the visible text of the notification.",
                    "type": "string"
                }
            },
            "required": [
                "text"
            ],
            "type": "object",
            "additionalProperties": false
        }
    },
    "required": [
        "spec"
    ],
    "type": "object",
    "additionalProperties": false,
    "$schema": "http://json-schema.org/draft-04/schema#"
}
