ModuleRuntime:
  type: object
  description: Runtime configuration for a module
  properties:
    module_name:
      type: string
      description: name of the module
    runtime:
      type: object
      description: module runtime configuration
  required: ['module_name', 'runtime']

PageRuntime:
  type: object
  description: runtime configuration for use by client
  properties:
    session_uid:
      type: string
      description: uid of the current session
    modules:
      type: array
      description: runtime config for individual module
      items:
        $ref: '#/definitions/ModuleRuntime'

EventContent:
  type: object
  description: Event content with meta information
  properties:
    type:
      type: string
      description: content type
      enum: ['html', 'url', 'content_path']
    value:
      type: string
      description: content value
    public:
      type: string
      description: content is public
    session_uid:
      type: string
      description: uid of the session (only available for 'html' type)
  required: ['type', 'value', 'public']

ModuleRuntime:
  type: object
  description: Runtime configuration for a module
  properties:
    module_name:
      type: string
      description: name of the module
    runtime:
      type: object
      description: module runtime configuration
  required: ['module_name', 'runtime']

RuntimeInfo:
  type: object
  description: additional information about the current session
  properties:
    session_label:
      type: string
      description: label of the event session
    event_name:
      type: string
      description: name of the event
  required: ['session_label', 'event_name']
  
PageRuntime:
  type: object
  description: runtime configuration for use by client
  properties:
    session_uid:
      type: string
      description: uid of the current session
    modules:
      type: array
      description: runtime config for individual module
      items:
        $ref: '#/definitions/ModuleRuntime'
    info:
      $ref: '#/definitions/RuntimeInfo'

EventContent:
  type: object
  description: Event content with meta information
  properties:
    type:
      type: string
      description: content type
      enum: ['html', 'url', 'content_path']
    value:
      type: string
      description: content value
    public:
      type: string
      description: content is public
    session_uid:
      type: string
      description: uid of the session (only available for 'html' type)
  required: ['type', 'value', 'public']

Return addition event information in the PageRuntime object.
Return addition event information in the PageRuntime object.
