{
    "additionalProperties": false,
    "description": "Schema for a screen view event",
    "minProperties": 2,
    "properties": {
        "id": {
            "_format": "uuid",
            "description": "An ID from the associated screenview event.",
            "maxLength": 36,
            "type": "string"
        },
        "name": {
            "description": "The name of the screen viewed.",
            "type": "string"
        },
        "previousId": {
            "_format": "uuid",
            "description": "A screenview ID of the previous screenview.",
            "type": "string"
        },
        "previousName": {
            "description": "The name of the previous screen.",
            "type": "string"
        },
        "previousType": {
            "description": "The screen type of the previous screenview.",
            "type": "string"
        },
        "transitionType": {
            "description": "The type of transition that led to the screen being viewed.",
            "type": "string"
        },
        "type": {
            "description": "The type of screen that was viewed e.g feed / carousel.",
            "type": "string"
        }
    },
    "required": [
        "name",
        "id"
    ],
    "self": {
        "format": "jsonschema",
        "name": "screen_view",
        "vendor": "com.snowplowanalytics.mobile",
        "version": "1-0-0"
    },
    "type": "object"
}