PlanetExplodedEvent

  • eventId
    Type: string Format: uuid
    required
  • eventType
    enum
    const:  
    planet.exploded
    required
    values
    • planet.exploded
  • explosion
    Type: object
    required
    • intensity
      Type: number
      min:  
      0
      max:  
      10
      required

      Explosion intensity on a scale of 0-10

    • type
      Type: string enum
      required
      values
      • supernova
      • nova
      • collision
      • artificial
    • energyReleased
      Type: string

      Energy released in joules (scientific notation)

    • newCelestialBodies
      Type: array object[]
  • planet
    Type: object · Planet
    required

    A planet in the Scalar Galaxy

    • id
      Type: integer Format: int64
      read-only
      required

      Signed 64-bit integers (long type).

    • name
      Type: string
      required
    • atmosphere
      Type: array object[]
    • creator
      Type: object · User

      A user

    • description
      Type: string
    • discoveredAt
      Type: string Format: date-time

      the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

    • habitabilityIndex
      Type: number Format: float
      min:  
      0
      max:  
      1
    • image
      Type: string nullable
    • lastUpdated
      Type: string Format: date-time
      read-only

      the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

    • physicalProperties
      Type: object
    • satellites
      Type: array object[] · Satellite[]

      Every satellite in the Scalar Galaxy

    • tags
      Type: array string[]
    • type
      Type: string enum
      values
      • terrestrial
      • gas_giant
      • ice_giant
      • dwarf
      • super_earth
  • timestamp
    Type: string Format: date-time
    required

    the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • affectedObjects
    Type: array object[]
    • distance
      Type: number

      Distance in kilometers

    • impact
      Type: string enum
      values
      • none
      • minor
      • moderate
      • severe
    • planetId
      Type: integer Format: int64

      Signed 64-bit integers (long type).

  • metadata
    Type: object · EventMetadata
    • correlationId
      Type: string

      Correlation ID for tracing related events

    • requestId
      Type: string

      ID of the request that triggered the event

    • severity
      Type: string enum

      Event severity level

      values
      • info
      • warning
      • error
      • critical
    • source
      Type: string

      Source system that generated the event

    • userId
      Type: integer Format: int64

      ID of the user who triggered the event (if applicable)