{
  "$id": "file:///Spotlight.schema.json",
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "additionalProperties": true,
  "allOf": [
    {
      "$ref": "file:///FxMSCommon.schema.json#/$defs/Message"
    }
  ],
  "description": "A template with an image, title, content and two buttons.",
  "properties": {
    "content": {
      "additionalProperties": true,
      "properties": {
        "backdrop": {
          "description": "Background css behind modal content",
          "type": "string"
        },
        "disableHistoryUpdates": {
          "description": "Don't alter the browser session's history stack - used with messaging surfaces like Feature Callouts",
          "type": "boolean"
        },
        "logo": {
          "additionalProperties": true,
          "properties": {
            "imageId": {
              "description": "The ID for a remotely hosted image",
              "type": "string"
            },
            "imageURL": {
              "description": "URL for image to use with the content",
              "type": "string"
            },
            "size": {
              "description": "The logo size.",
              "type": "string"
            }
          },
          "type": "object"
        },
        "screens": {
          "description": "Collection of individual screen content",
          "type": "array"
        },
        "startScreen": {
          "description": "Index of first screen to show from message, defaulting to 0",
          "type": "integer"
        },
        "template": {
          "const": "multistage",
          "description": "Specify the layout template for the Spotlight",
          "type": "string"
        },
        "transitions": {
          "description": "Show transitions within and between screens",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "template": {
      "description": "Specify whether the surface is shown as a Spotlight modal or an in-surface Feature Callout dialog",
      "enum": [
        "spotlight",
        "feature_callout"
      ],
      "type": "string"
    }
  },
  "required": [
    "targeting"
  ],
  "title": "Spotlight",
  "type": "object"
}