JSON Schema Definition 'Event'

Diagram

Drilldown into /$defs/Bounds Drilldown into /$defs/Bounds Drilldown into /$defs/Event/properties/metaKey Drilldown into /$defs/Event/properties/metaKey Drilldown into /$defs/Event/properties/metaKey Drilldown into /$defs/Event/properties/shiftKey Drilldown into /$defs/Event/properties/shiftKey Drilldown into /$defs/Event/properties/shiftKey Drilldown into /$defs/Event/properties/ctrlKey Drilldown into /$defs/Event/properties/ctrlKey Drilldown into /$defs/Event/properties/ctrlKey Drilldown into /$defs/Event/properties/altKey Drilldown into /$defs/Event/properties/altKey Drilldown into /$defs/Event/properties/altKey Drilldown into /$defs/Event/properties/interactionType Drilldown into /$defs/Event/properties/interactionType Drilldown into /$defs/Event/properties/interactionTypeJSON Schema Diagram of /$defs/Event

Value

Object

Properties

Property Name Type Description
type string A String value
Description : Type of the JS event captured
interactionType string interactionType (lom.schema.json)
timeStamp number A Number value
Description : Time (in milliseconds) at which the event occured
isTrusted boolean A Boolean value
Description : True when the event was generated by a user action, false otherwise
altKey boolean altKey (lom.schema.json)
ctrlKey boolean ctrlKey (lom.schema.json)
shiftKey boolean shiftKey (lom.schema.json)
metaKey boolean metaKey (lom.schema.json)
mouseButton number A Number value
Description : Which button was pressed on the mouse to trigger the event
mouseButtons number A Number value
Description : Which button were down on the mouse when the event occured
pageX number A Number value
Description : Vertical coordinate within the application's viewport at which the event occurred
pageY number A Number value
Description : Boolean denoting if the SHIFT key was down when event occured
lomId string A String value
Description : ID of the LOM in which the event occured
zoneId string A String value
Description : ID of the LOM zone in which the event occured
viewport object Bounds (lom.schema.json)
Additional Properties Type Description
Any Property Any All values are valid, no restrictions.

Source

"Event": {
    "type": "object",
    "properties": {
        "type": {
            "type": "string",
            "description": "Type of the JS event captured"
        },
        "interactionType": {
            "type": "string",
            "description": "Type of interaction this event denotes",
            "enum": [
                "exploration",
                "action"
            ]
        },
        "timeStamp": {
            "type": "number",
            "description": "Time (in milliseconds) at which the event occured"
        },
        "isTrusted": {
            "type": "boolean",
            "description": "True when the event was generated by a user action, false otherwise"
        },
        "altKey": {
            "type": "boolean",
            "description": "Boolean denoting if the ALT key was down when event occured",
            "default": false
        },
        "ctrlKey": {
            "type": "boolean",
            "description": "Boolean denoting if the CTRL key was down when event occured",
            "default": false
        },
        "shiftKey": {
            "type": "boolean",
            "description": "Boolean denoting if the SHIFT key was down when event occured",
            "default": false
        },
        "metaKey": {
            "type": "boolean",
            "description": "Boolean denoting if the META key was down when event occured",
            "default": false
        },
        "mouseButton": {
            "type": "number",
            "description": "Which button was pressed on the mouse to trigger the event"
        },
        "mouseButtons": {
            "type": "number",
            "description": "Which button were down on the mouse when the event occured"
        },
        "pageX": {
            "type": "number",
            "description": "Vertical coordinate within the application's viewport at which the event occurred"
        },
        "pageY": {
            "type": "number",
            "description": "Boolean denoting if the SHIFT key was down when event occured"
        },
        "lomId": {
            "type": "string",
            "description": "ID of the LOM in which the event occured"
        },
        "zoneId": {
            "type": "string",
            "description": "ID of the LOM zone in which the event occured"
        },
        "viewport": {
            "$ref": "#/$defs/Bounds",
            "description": "Visible zone of the document body when event occured"
        }
    },
    "required": [
        "type",
        "interactionType",
        "timeStamp",
        "isTrusted"
    ]
}
C:\Users\pilou\Workspaces\IntelliJ-IDEA\UX-Key\lom-format\lom.schema.json (118:10)