Skip to content
Pax Abyssi

Template · infobox schema

Template:Infobox/planet_class

Infobox schema for planet type and subtype pages (Ocean world, Hot Jupiter, Clear-blue temperate gas giant): the fields, their groups, labels and units, as a JSON Schema.

This page holds the JSON Schema for infobox: type: planet_class, used by planet type and subtype pages (Ocean world, Hot Jupiter, Clear-blue temperate gas giant) (the field list follows SCIENCE_CORPUS 3.4 A). Every page whose frontmatter names this type is validated against it on save: a schema error blocks a save by a new account or an API client and warns a trusted editor.

Values are flexible so that writers can record what the sources allow. A field may be plain text or a number, a quantity object {value, unit, min, max, error, source, note}, or a by-status mapping {observed, model, sim} when the measured, inferred and generated values differ. Fields not listed here are allowed and shown under "Other" in the infobox. The x-pax block carries display metadata: the groups in order, each group's default provenance tag, and the label and unit for every field.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://paxabyssi.com/wiki/Template:Infobox/planet_class",
  "title": "Planet type or subtype",
  "description": "Infobox for planet type and subtype pages (Ocean world, Hot Jupiter, Clear-blue temperate gas giant). Fields follow SCIENCE_CORPUS 3.4 A.",
  "type": "object",
  "required": [
    "type",
    "name"
  ],
  "properties": {
    "type": {
      "const": "planet_class"
    },
    "image": {
      "$ref": "#/$defs/fileTitle",
      "description": "Lead image, a File: title."
    },
    "caption": {
      "type": "string"
    },
    "image_caption": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "legacy_code": {
      "$ref": "#/$defs/field"
    },
    "level": {
      "$ref": "#/$defs/field"
    },
    "series": {
      "$ref": "#/$defs/field"
    },
    "science_status": {
      "$ref": "#/$defs/status"
    },
    "literature_equivalent": {
      "$ref": "#/$defs/field"
    },
    "defining_criteria_sim": {
      "$ref": "#/$defs/field"
    },
    "defining_criteria": {
      "$ref": "#/$defs/field"
    },
    "applies_to": {
      "$ref": "#/$defs/field"
    },
    "classes": {
      "$ref": "#/$defs/field"
    },
    "sim_equivalent": {
      "$ref": "#/$defs/field"
    },
    "mass_earth": {
      "$ref": "#/$defs/field"
    },
    "mass": {
      "$ref": "#/$defs/field"
    },
    "radius_earth": {
      "$ref": "#/$defs/field"
    },
    "radius": {
      "$ref": "#/$defs/field"
    },
    "density_g_cm3": {
      "$ref": "#/$defs/field"
    },
    "bulk_density": {
      "$ref": "#/$defs/field"
    },
    "surface_gravity_m_s2": {
      "$ref": "#/$defs/field"
    },
    "gravity_at_1_bar": {
      "$ref": "#/$defs/field"
    },
    "escape_velocity_km_s": {
      "$ref": "#/$defs/field"
    },
    "escape_velocity": {
      "$ref": "#/$defs/field"
    },
    "interior": {
      "$ref": "#/$defs/field"
    },
    "interior_structure": {
      "$ref": "#/$defs/field"
    },
    "magnetic_field": {
      "$ref": "#/$defs/field"
    },
    "tidal_state": {
      "$ref": "#/$defs/field"
    },
    "heat_flow_w_m2": {
      "$ref": "#/$defs/field"
    },
    "internal_power_tw": {
      "$ref": "#/$defs/field"
    },
    "heat_sources": {
      "$ref": "#/$defs/field"
    },
    "equilibrium_temperature_k": {
      "$ref": "#/$defs/field"
    },
    "equilibrium_temperature": {
      "$ref": "#/$defs/field"
    },
    "surface_temperature_k": {
      "$ref": "#/$defs/field"
    },
    "temperature_at_1_bar": {
      "$ref": "#/$defs/field"
    },
    "bond_albedo": {
      "$ref": "#/$defs/field"
    },
    "geometric_albedo": {
      "$ref": "#/$defs/field"
    },
    "surface_pressure_bar": {
      "$ref": "#/$defs/field"
    },
    "dominant_gases": {
      "$ref": "#/$defs/field"
    },
    "clouds_hazes": {
      "$ref": "#/$defs/field"
    },
    "cloud_and_haze_species": {
      "$ref": "#/$defs/field"
    },
    "cloud_species": {
      "$ref": "#/$defs/field"
    },
    "wind_speeds": {
      "$ref": "#/$defs/field"
    },
    "atmosphere_classes": {
      "$ref": "#/$defs/field"
    },
    "surface_radiation": {
      "$ref": "#/$defs/field"
    },
    "water_cover": {
      "$ref": "#/$defs/field"
    },
    "ocean_cover": {
      "$ref": "#/$defs/field"
    },
    "water_mass_fraction": {
      "$ref": "#/$defs/field"
    },
    "ice_shell_km": {
      "$ref": "#/$defs/field"
    },
    "ocean_depth_km": {
      "$ref": "#/$defs/field"
    },
    "habitable_zone_model": {
      "$ref": "#/$defs/field"
    },
    "typical_orbit": {
      "$ref": "#/$defs/field"
    },
    "rings_moons": {
      "$ref": "#/$defs/field"
    },
    "frequency_in_sim": {
      "$ref": "#/$defs/field"
    },
    "occurrence_observed": {
      "$ref": "#/$defs/field"
    },
    "real_examples": {
      "$ref": "#/$defs/field"
    },
    "subtypes": {
      "$ref": "#/$defs/field"
    },
    "sim_source": {
      "$ref": "#/$defs/field"
    },
    "physics_engine": {
      "$ref": "#/$defs/field"
    },
    "science_doc": {
      "$ref": "#/$defs/field"
    },
    "rendered_example": {
      "$ref": "#/$defs/field"
    },
    "last_verified": {
      "$ref": "#/$defs/field"
    }
  },
  "additionalProperties": true,
  "$defs": {
    "quantity": {
      "type": "object",
      "description": "A number or range with its unit and provenance.",
      "properties": {
        "value": {
          "type": [
            "number",
            "string",
            "null"
          ]
        },
        "unit": {
          "type": "string"
        },
        "min": {
          "type": [
            "number",
            "string"
          ]
        },
        "max": {
          "type": [
            "number",
            "string"
          ]
        },
        "error": {
          "type": [
            "number",
            "string"
          ]
        },
        "uncertainty": {
          "type": [
            "number",
            "string"
          ]
        },
        "source": {
          "type": "string",
          "description": "observed | model | sim | catalogue | fiction, or a citation."
        },
        "note": {
          "type": "string"
        },
        "as_of": {
          "type": [
            "string",
            "number"
          ]
        }
      },
      "additionalProperties": true
    },
    "byStatus": {
      "type": "object",
      "description": "The same quantity as measured (observed), inferred (model) and generated (sim).",
      "properties": {
        "observed": {
          "$ref": "#/$defs/cell"
        },
        "model": {
          "$ref": "#/$defs/cell"
        },
        "sim": {
          "$ref": "#/$defs/cell"
        },
        "note": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "cell": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array"
        },
        {
          "$ref": "#/$defs/quantity"
        }
      ]
    },
    "field": {
      "anyOf": [
        {
          "$ref": "#/$defs/cell"
        },
        {
          "$ref": "#/$defs/byStatus"
        },
        {
          "type": "object"
        }
      ]
    },
    "fileTitle": {
      "type": "string",
      "pattern": "^File:"
    },
    "status": {
      "description": "One or more of observed, model, sim, speculative, fiction; or a sentence saying which parts carry which label.",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ]
    }
  },
  "x-pax": {
    "label": "Planet type or subtype",
    "image_field": "image",
    "caption_field": "caption",
    "groups": [
      {
        "index": "01",
        "title": "Identity",
        "fields": [
          "name",
          "code",
          "legacy_code",
          "level",
          "series",
          "science_status",
          "literature_equivalent",
          "defining_criteria_sim",
          "defining_criteria",
          "applies_to",
          "classes",
          "sim_equivalent"
        ]
      },
      {
        "index": "02",
        "title": "Physical",
        "fields": [
          "mass_earth",
          "mass",
          "radius_earth",
          "radius",
          "density_g_cm3",
          "bulk_density",
          "surface_gravity_m_s2",
          "gravity_at_1_bar",
          "escape_velocity_km_s",
          "escape_velocity",
          "interior",
          "interior_structure",
          "magnetic_field",
          "tidal_state",
          "heat_flow_w_m2",
          "internal_power_tw",
          "heat_sources"
        ]
      },
      {
        "index": "03",
        "title": "Atmosphere and climate",
        "fields": [
          "equilibrium_temperature_k",
          "equilibrium_temperature",
          "surface_temperature_k",
          "temperature_at_1_bar",
          "bond_albedo",
          "geometric_albedo",
          "surface_pressure_bar",
          "dominant_gases",
          "clouds_hazes",
          "cloud_and_haze_species",
          "cloud_species",
          "wind_speeds",
          "atmosphere_classes",
          "surface_radiation",
          "water_cover",
          "ocean_cover",
          "water_mass_fraction",
          "ice_shell_km",
          "ocean_depth_km",
          "habitable_zone_model"
        ]
      },
      {
        "index": "04",
        "title": "Orbit and population",
        "fields": [
          "typical_orbit",
          "rings_moons",
          "frequency_in_sim",
          "occurrence_observed",
          "real_examples",
          "subtypes"
        ]
      },
      {
        "index": "05",
        "title": "Sim",
        "fields": [
          "sim_source",
          "physics_engine",
          "science_doc",
          "rendered_example",
          "last_verified"
        ],
        "provenance": "sim"
      }
    ],
    "fields": {
      "name": {
        "label": "Name"
      },
      "code": {
        "label": "Code"
      },
      "legacy_code": {
        "label": "Legacy code"
      },
      "level": {
        "label": "Level"
      },
      "series": {
        "label": "Series"
      },
      "science_status": {
        "label": "Science status"
      },
      "literature_equivalent": {
        "label": "Literature equivalent"
      },
      "defining_criteria_sim": {
        "label": "Defining criteria (sim)"
      },
      "defining_criteria": {
        "label": "Defining criteria"
      },
      "applies_to": {
        "label": "Applies to"
      },
      "classes": {
        "label": "Classes"
      },
      "sim_equivalent": {
        "label": "Sim equivalent"
      },
      "mass_earth": {
        "label": "Mass",
        "unit": "M⊕"
      },
      "mass": {
        "label": "Mass"
      },
      "radius_earth": {
        "label": "Radius",
        "unit": "R⊕"
      },
      "radius": {
        "label": "Radius"
      },
      "density_g_cm3": {
        "label": "Bulk density",
        "unit": "g/cm³"
      },
      "bulk_density": {
        "label": "Bulk density",
        "unit": "g/cm³"
      },
      "surface_gravity_m_s2": {
        "label": "Surface gravity",
        "unit": "m/s²"
      },
      "gravity_at_1_bar": {
        "label": "Gravity at 1 bar",
        "unit": "m/s²"
      },
      "escape_velocity_km_s": {
        "label": "Escape velocity",
        "unit": "km/s"
      },
      "escape_velocity": {
        "label": "Escape velocity",
        "unit": "km/s"
      },
      "interior": {
        "label": "Interior"
      },
      "interior_structure": {
        "label": "Interior structure"
      },
      "magnetic_field": {
        "label": "Magnetic field"
      },
      "tidal_state": {
        "label": "Tidal state"
      },
      "heat_flow_w_m2": {
        "label": "Heat flow",
        "unit": "W/m²"
      },
      "internal_power_tw": {
        "label": "Internal power",
        "unit": "TW"
      },
      "heat_sources": {
        "label": "Heat sources"
      },
      "equilibrium_temperature_k": {
        "label": "Equilibrium temperature",
        "unit": "K"
      },
      "equilibrium_temperature": {
        "label": "Equilibrium temperature",
        "unit": "K"
      },
      "surface_temperature_k": {
        "label": "Surface temperature",
        "unit": "K"
      },
      "temperature_at_1_bar": {
        "label": "Temperature at 1 bar",
        "unit": "K"
      },
      "bond_albedo": {
        "label": "Bond albedo"
      },
      "geometric_albedo": {
        "label": "Geometric albedo"
      },
      "surface_pressure_bar": {
        "label": "Surface pressure",
        "unit": "bar"
      },
      "dominant_gases": {
        "label": "Dominant gases"
      },
      "clouds_hazes": {
        "label": "Clouds and hazes"
      },
      "cloud_and_haze_species": {
        "label": "Cloud and haze species"
      },
      "cloud_species": {
        "label": "Cloud species"
      },
      "wind_speeds": {
        "label": "Wind speeds",
        "unit": "m/s"
      },
      "atmosphere_classes": {
        "label": "Atmosphere classes"
      },
      "surface_radiation": {
        "label": "Surface radiation"
      },
      "water_cover": {
        "label": "Water cover"
      },
      "ocean_cover": {
        "label": "Ocean cover"
      },
      "water_mass_fraction": {
        "label": "Water mass fraction"
      },
      "ice_shell_km": {
        "label": "Ice shell",
        "unit": "km"
      },
      "ocean_depth_km": {
        "label": "Ocean depth",
        "unit": "km"
      },
      "habitable_zone_model": {
        "label": "Habitable zone model"
      },
      "typical_orbit": {
        "label": "Typical orbit"
      },
      "rings_moons": {
        "label": "Rings and moons"
      },
      "frequency_in_sim": {
        "label": "Frequency in the sim"
      },
      "occurrence_observed": {
        "label": "Occurrence (observed)"
      },
      "real_examples": {
        "label": "Real examples"
      },
      "subtypes": {
        "label": "Subtypes"
      },
      "sim_source": {
        "label": "Sim source"
      },
      "physics_engine": {
        "label": "Physics engine"
      },
      "science_doc": {
        "label": "Science document"
      },
      "rendered_example": {
        "label": "Rendered example"
      },
      "last_verified": {
        "label": "Last verified"
      }
    }
  }
}
Fields60 fields
Fields
GroupFieldLabelUnit
01 IdentitynameName
codeCode
legacy_codeLegacy code
levelLevel
seriesSeries
science_statusScience status
literature_equivalentLiterature equivalent
defining_criteria_simDefining criteria (sim)
defining_criteriaDefining criteria
applies_toApplies to
classesClasses
sim_equivalentSim equivalent
02 Physicalmass_earthMassM⊕
massMass
radius_earthRadiusR⊕
radiusRadius
density_g_cm3Bulk densityg/cm³
bulk_densityBulk densityg/cm³
surface_gravity_m_s2Surface gravitym/s²
gravity_at_1_barGravity at 1 barm/s²
escape_velocity_km_sEscape velocitykm/s
escape_velocityEscape velocitykm/s
interiorInterior
interior_structureInterior structure
magnetic_fieldMagnetic field
tidal_stateTidal state
heat_flow_w_m2Heat flowW/m²
internal_power_twInternal powerTW
heat_sourcesHeat sources
03 Atmosphere and climateequilibrium_temperature_kEquilibrium temperatureK
equilibrium_temperatureEquilibrium temperatureK
surface_temperature_kSurface temperatureK
temperature_at_1_barTemperature at 1 barK
bond_albedoBond albedo
geometric_albedoGeometric albedo
surface_pressure_barSurface pressurebar
dominant_gasesDominant gases
clouds_hazesClouds and hazes
cloud_and_haze_speciesCloud and haze species
cloud_speciesCloud species
wind_speedsWind speedsm/s
atmosphere_classesAtmosphere classes
surface_radiationSurface radiation
water_coverWater cover
ocean_coverOcean cover
water_mass_fractionWater mass fraction
ice_shell_kmIce shellkm
ocean_depth_kmOcean depthkm
habitable_zone_modelHabitable zone model
04 Orbit and populationtypical_orbitTypical orbit
rings_moonsRings and moons
frequency_in_simFrequency in the sim
occurrence_observedOccurrence (observed)
real_examplesReal examples
subtypesSubtypes
05 Simsim_sourceSim source
physics_enginePhysics engine
science_docScience document
rendered_exampleRendered example
last_verifiedLast verified