packages/lobsang-formatter-schema/lib/format.js
function format (message, topic) {
  const now = new Date()
  const license = constants.LOBSANG_DEFAULT_LICENSE
  const id = 'toBeAdapted'
  const issuer = 'toBeAdapted'

  return {
    content: message,
    topic,
    license,
    contentType: null,
    created: now.toISOString(),
    derivedFrom: null,
    id,
    issuer
  }
}
function format (message, topic) {
  const now = new Date()
  const license = constants.LOBSANG_DEFAULT_LICENSE
  const id = 'toBeAdapted'
  const issuer = 'toBeAdapted'

  return {
    content: message,
    topic,
    license,
    contentType: null,
    created: now.toISOString(),
    derivedFrom: null,
    id,
    issuer
  }
}
@module @lobsangnet/lobsang-formatter-matrix/schema
 
Library to format a message into a schemaMessage

@private
@param {string} message - The message to format.
@param {string} topic - The topic to send this message to.
@returns {object}
SchemaMessage object
@todo Replace object after https://github.com/Kegsay/flow-jsdoc/issues/22