{
    "additionalProperties": false,
    "description": "Schema for amp-specific page ping events",
    "properties": {
        "scrollHeight": {
            "description": "Height of page in pixels, as provided by AMP",
            "minimum": 0,
            "type": "number"
        },
        "scrollLeft": {
            "description": "Pixels scrolled from the left, as provided by AMP",
            "type": "number"
        },
        "scrollTop": {
            "description": "Pixels scrolled from the top",
            "type": "number"
        },
        "scrollWidth": {
            "description": "Width of page in pixels, as provided by AMP",
            "minimum": 0,
            "type": "number"
        },
        "totalEngagedTime": {
            "description": "Seconds of engaged time spent on page, according to the AMP platform's measurement of engaged time",
            "minimum": 0,
            "type": "number"
        },
        "viewportHeight": {
            "description": "Height of viewport in pixels, taking into account zoom and window size, as provided by AMP",
            "minimum": 0,
            "type": "number"
        },
        "viewportWidth": {
            "description": "Width of viewport in pixels, taking into account zoom and window size, as provided by AMP",
            "minimum": 0,
            "type": "number"
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "amp_page_ping",
        "vendor": "dev.amp.snowplow",
        "version": "1-0-0"
    },
    "type": "object"
}