# Planet

A planet in the Scalar Galaxy

Type: `object`

- `id` (integer, required)
- `name` (string, required)
- `description` (string | null)
- `type` (string): One of: `terrestrial`, `gas_giant`, `ice_giant`, `dwarf`, `super_earth`.
- `habitabilityIndex` (number): A score from 0 to 1 indicating potential habitability
- `physicalProperties` (object)
  - `mass` (number): Mass in Earth masses (must be greater than 0)
  - `radius` (number): Radius in Earth radii (must be greater than 0)
  - `gravity` (number): Surface gravity in Earth g
  - `temperature` (object)
    - `min` (number): Minimum temperature in Kelvin
    - `max` (number): Maximum temperature in Kelvin
    - `average` (number): Average temperature in Kelvin
- `atmosphere` (array<object>): Atmospheric composition
  - `compound` (string)
  - `percentage` (number)
- `discoveredAt` (string)
- `image` (string | null)
- `satellites` (array<Satellite>)
- `creator` (User): A user
- `tags` (array<string>)
- `lastUpdated` (string)
- `successCallbackUrl` (string): URL which gets invoked upon a successful operation
- `failureCallbackUrl` (string): URL which gets invoked upon a failed operation
