Template · infobox schema
Template:Infobox/neutron_star
Infobox schema for neutron star pages (the class page and individual pulsars and magnetars): the fields, their groups, labels and units, as a JSON Schema.
This page holds the JSON Schema for infobox: type: neutron_star, used by neutron star pages (the class page and individual pulsars and magnetars) (the field list follows SCIENCE_CORPUS 3.4 G). 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/neutron_star",
"title": "Neutron star",
"description": "Infobox for neutron star pages (the class page and individual pulsars and magnetars). Fields follow SCIENCE_CORPUS 3.4 G.",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"const": "neutron_star"
},
"image": {
"$ref": "#/$defs/fileTitle",
"description": "Lead image, a File: title."
},
"caption": {
"type": "string"
},
"image_caption": {
"type": "string"
},
"classes": {
"$ref": "#/$defs/field"
},
"class": {
"type": "string"
},
"catalogue_ids": {
"$ref": "#/$defs/field"
},
"source_catalogue": {
"$ref": "#/$defs/field"
},
"known_count": {
"$ref": "#/$defs/field"
},
"nearest_known": {
"$ref": "#/$defs/field"
},
"distance_methods": {
"$ref": "#/$defs/field"
},
"distance_pc": {
"$ref": "#/$defs/field"
},
"spin_period_s": {
"$ref": "#/$defs/field"
},
"period_derivative_s_per_s": {
"$ref": "#/$defs/field"
},
"characteristic_age_yr": {
"$ref": "#/$defs/field"
},
"dipole_field_g": {
"$ref": "#/$defs/field"
},
"spin_down_luminosity_erg_s": {
"$ref": "#/$defs/field"
},
"dispersion_measure_pc_cm3": {
"$ref": "#/$defs/field"
},
"mass_msun": {
"$ref": "#/$defs/field"
},
"maximum_mass_msun": {
"$ref": "#/$defs/field"
},
"radius_km": {
"$ref": "#/$defs/field"
},
"mean_density_kg_m3": {
"$ref": "#/$defs/field"
},
"surface_gravity_m_s2": {
"$ref": "#/$defs/field"
},
"escape_speed": {
"$ref": "#/$defs/field"
},
"surface_temperature_k": {
"$ref": "#/$defs/field"
},
"sim_stops": {
"$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": "Neutron star",
"image_field": "image",
"caption_field": "caption",
"groups": [
{
"index": "01",
"title": "Identity",
"fields": [
"classes",
"class",
"catalogue_ids",
"source_catalogue",
"known_count",
"nearest_known",
"distance_methods",
"distance_pc"
],
"provenance": "catalogue"
},
{
"index": "02",
"title": "Spin and field",
"fields": [
"spin_period_s",
"period_derivative_s_per_s",
"characteristic_age_yr",
"dipole_field_g",
"spin_down_luminosity_erg_s",
"dispersion_measure_pc_cm3"
]
},
{
"index": "03",
"title": "Structure",
"fields": [
"mass_msun",
"maximum_mass_msun",
"radius_km",
"mean_density_kg_m3",
"surface_gravity_m_s2",
"escape_speed",
"surface_temperature_k"
]
},
{
"index": "04",
"title": "Sim",
"fields": [
"sim_stops",
"sim_source",
"physics_engine",
"science_doc",
"rendered_example",
"last_verified"
],
"provenance": "sim"
}
],
"fields": {
"classes": {
"label": "Classes"
},
"class": {
"label": "Class"
},
"catalogue_ids": {
"label": "Catalogue ids"
},
"source_catalogue": {
"label": "Source catalogue"
},
"known_count": {
"label": "Known count"
},
"nearest_known": {
"label": "Nearest known"
},
"distance_methods": {
"label": "Distance methods"
},
"distance_pc": {
"label": "Distance",
"unit": "pc"
},
"spin_period_s": {
"label": "Spin period",
"unit": "s"
},
"period_derivative_s_per_s": {
"label": "Period derivative",
"unit": "s/s"
},
"characteristic_age_yr": {
"label": "Characteristic age",
"unit": "yr"
},
"dipole_field_g": {
"label": "Dipole field",
"unit": "G"
},
"spin_down_luminosity_erg_s": {
"label": "Spin-down luminosity",
"unit": "erg/s"
},
"dispersion_measure_pc_cm3": {
"label": "Dispersion measure",
"unit": "pc/cm³"
},
"mass_msun": {
"label": "Mass",
"unit": "M☉"
},
"maximum_mass_msun": {
"label": "Maximum mass",
"unit": "M☉"
},
"radius_km": {
"label": "Radius",
"unit": "km"
},
"mean_density_kg_m3": {
"label": "Mean density",
"unit": "kg/m³"
},
"surface_gravity_m_s2": {
"label": "Surface gravity",
"unit": "m/s²"
},
"escape_speed": {
"label": "Escape speed"
},
"surface_temperature_k": {
"label": "Surface temperature",
"unit": "K"
},
"sim_stops": {
"label": "Sim stops"
},
"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"
}
}
}
}
| Group | Field | Label | Unit |
|---|---|---|---|
| 01 Identity | classes | Classes | |
| class | Class | ||
| catalogue_ids | Catalogue ids | ||
| source_catalogue | Source catalogue | ||
| known_count | Known count | ||
| nearest_known | Nearest known | ||
| distance_methods | Distance methods | ||
| distance_pc | Distance | pc | |
| 02 Spin and field | spin_period_s | Spin period | s |
| period_derivative_s_per_s | Period derivative | s/s | |
| characteristic_age_yr | Characteristic age | yr | |
| dipole_field_g | Dipole field | G | |
| spin_down_luminosity_erg_s | Spin-down luminosity | erg/s | |
| dispersion_measure_pc_cm3 | Dispersion measure | pc/cm³ | |
| 03 Structure | mass_msun | Mass | M☉ |
| maximum_mass_msun | Maximum mass | M☉ | |
| radius_km | Radius | km | |
| mean_density_kg_m3 | Mean density | kg/m³ | |
| surface_gravity_m_s2 | Surface gravity | m/s² | |
| escape_speed | Escape speed | ||
| surface_temperature_k | Surface temperature | K | |
| 04 Sim | sim_stops | Sim stops | |
| sim_source | Sim source | ||
| physics_engine | Physics engine | ||
| science_doc | Science document | ||
| rendered_example | Rendered example | ||
| last_verified | Last verified |