{
    "additionalProperties": false,
    "description": "Entity that indicates the visibility state of the app (foreground, background)",
    "properties": {
        "index": {
            "description": "Represents the foreground index or background index (tracked with com.snowplowanalytics.snowplow application_foreground and application_background events.",
            "maximum": 2147483647,
            "minimum": 0,
            "type": "integer"
        },
        "isVisible": {
            "description": "Indicates if the app is in foreground state (true) or background state (false)",
            "type": "boolean"
        }
    },
    "required": [
        "isVisible"
    ],
    "self": {
        "format": "jsonschema",
        "name": "application_lifecycle",
        "vendor": "com.snowplowanalytics.mobile",
        "version": "1-0-0"
    },
    "type": "object"
}