CelestialBody

A celestial body which can be either a planet or a satellite

  • type
    Type: string enum
    required

    Type of celestial body

    values
    • planet
    • satellite
  • planet
    Type: object · Planet

    Planet data (when type is 'planet')

    • 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
  • satellite
    Type: object · Satellite

    Satellite data (when type is 'satellite')

    • name
      Type: string
      required
    • description
      Type: string
    • diameter
      Type: number Format: float
    • id
      Type: integer Format: int64
      read-only

      Signed 64-bit integers (long type).

    • orbit
      Type: object
    • type
      Type: string enum
      values
      • moon
      • asteroid
      • comet