{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://example.org/mars-dd/0.3/Habitat.schema.json",
  "title": "Mars DD 0.3 \u2014 Habitat",
  "description": "Habitat resource. Draft, speculative; modeled on RESO Data Dictionary 2.1. Cross-field rules are enforced separately (rules.ts).",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "HabitatKey"
  ],
  "properties": {
    "HabitatKey": {
      "description": "Unique system key for the habitat listing record.",
      "x-group": "Listing",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "ListingKey",
      "type": "string",
      "maxLength": 255
    },
    "HabitatId": {
      "description": "Human-readable listing identifier assigned by the listing service.",
      "x-group": "Listing",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "ListingId",
      "type": "string",
      "maxLength": 255
    },
    "StandardStatus": {
      "description": "Status of the listing using the Mars-adapted status list (adds Quarantined and HeldForTransitWindow).",
      "x-group": "Listing",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "StandardStatus",
      "x-lookup": "StandardStatus",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "Active",
        "Pending",
        "Closed",
        "Withdrawn",
        "Quarantined",
        "HeldForTransitWindow",
        "Decommissioned"
      ]
    },
    "HabitatType": {
      "description": "Primary class of habitat (surface module, buried module, lava-tube, crater-dome, etc.).",
      "x-group": "Listing",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "PropertyType",
      "x-lookup": "HabitatType",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "Surface Module",
        "Buried Module",
        "Lava Tube",
        "Crater Dome",
        "Cliffside Excavation",
        "Mobile Pressurized Rover"
      ]
    },
    "HabitatSubType": {
      "description": "More specific class within HabitatType.",
      "x-group": "Listing",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "PropertySubType",
      "x-lookup": "HabitatSubType",
      "x-extensibility": "Open",
      "type": "string",
      "enum": [
        "Single Occupant Quarters",
        "Family Quarters",
        "Shared Habitat Unit",
        "Greenhouse Unit",
        "Workshop",
        "Laboratory",
        "Mixed Use"
      ]
    },
    "TenureType": {
      "description": "Legal basis of occupancy. Replaces deeded ownership because national appropriation of celestial bodies is barred under the Outer Space Treaty (Art. II); private tenure regimes are unsettled.",
      "x-group": "Tenure",
      "x-marsStatus": "Adapted",
      "x-source": "S06; S12",
      "x-privacy": "Public",
      "x-reso21Equivalent": "OwnershipType",
      "x-lookup": "TenureType",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "Allocated Use Right",
        "Lease",
        "Cooperative Share",
        "Employer Provided",
        "Research Station Assignment",
        "Other"
      ]
    },
    "AllocationAuthority": {
      "description": "Name of the settlement body or operator that grants and records the use right.",
      "x-group": "Tenure",
      "x-marsStatus": "New",
      "x-source": "S06; S12",
      "x-privacy": "Public",
      "type": "string",
      "maxLength": 255
    },
    "UseRightTermSols": {
      "description": "Length of the granted use right, in sols.",
      "x-group": "Tenure",
      "x-marsStatus": "New",
      "x-source": "S02",
      "x-privacy": "Public",
      "x-units": "sols",
      "type": "integer"
    },
    "UseRightExpirationSol": {
      "description": "Mars Sol Date on which the use right expires.",
      "x-group": "Tenure",
      "x-marsStatus": "New",
      "x-source": "S02",
      "x-privacy": "Public",
      "x-rules": [
        "R07"
      ],
      "x-units": "MSD",
      "type": "number"
    },
    "UseRightTransferableYN": {
      "description": "Whether the use right may be assigned to another party without re-allocation.",
      "x-group": "Tenure",
      "x-marsStatus": "New",
      "x-source": "S06; S12",
      "x-privacy": "Public",
      "type": "boolean"
    },
    "ListPriceSettlementCredit": {
      "description": "Asking price in the settlement's local unit of account.",
      "x-group": "Financial",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-units": "settlement credit",
      "x-reso21Equivalent": "ListPrice",
      "type": "number"
    },
    "ListPriceEarthReference": {
      "description": "Asking price expressed in an Earth reference currency at the listing timestamp.",
      "x-group": "Financial",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-units": "Earth currency",
      "x-reso21Equivalent": "ListPrice",
      "type": "number"
    },
    "EarthReferenceCurrency": {
      "description": "ISO 4217 code of the Earth reference currency used.",
      "x-group": "Financial",
      "x-marsStatus": "New",
      "x-source": "S09",
      "x-privacy": "Public",
      "x-rules": [
        "R15"
      ],
      "x-lookup": "EarthReferenceCurrency",
      "x-extensibility": "Open",
      "type": "string",
      "enum": [
        "USD",
        "EUR",
        "JPY",
        "CNY",
        "GBP",
        "INR"
      ]
    },
    "ClosePriceSettlementCredit": {
      "description": "Final transfer price in settlement credit.",
      "x-group": "Financial",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-units": "settlement credit",
      "x-reso21Equivalent": "ClosePrice",
      "type": "number"
    },
    "LifeSupportFeePerSol": {
      "description": "Recurring charge for shared atmosphere, water and thermal services, per sol.",
      "x-group": "Financial",
      "x-marsStatus": "Adapted",
      "x-source": "S02",
      "x-privacy": "Public",
      "x-units": "settlement credit/sol",
      "x-reso21Equivalent": "AssociationFee",
      "type": "number"
    },
    "ConsumablesLevyPerSol": {
      "description": "Recurring contribution to the settlement's shared consumables reserve, per sol.",
      "x-group": "Financial",
      "x-marsStatus": "New",
      "x-source": "S02",
      "x-privacy": "Public",
      "x-units": "settlement credit/sol",
      "type": "number"
    },
    "InsuranceDepressurizationYN": {
      "description": "Whether a depressurization / habitat-loss policy is in force and transferable.",
      "x-group": "Financial",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Confidential",
      "x-reso21Equivalent": "HomeWarrantyYN",
      "type": "boolean"
    },
    "SettlementId": {
      "description": "Identifier of the settlement in which the habitat sits. Replaces City / postal hierarchy.",
      "x-group": "Location",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "City",
      "type": "string",
      "maxLength": 50
    },
    "SettlementName": {
      "description": "Display name of the settlement.",
      "x-group": "Location",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "City",
      "type": "string",
      "maxLength": 100
    },
    "MarsRegion": {
      "description": "Named physiographic region (e.g., Arcadia Planitia, Jezero Crater).",
      "x-group": "Location",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "StateOrProvince",
      "x-lookup": "MarsRegion",
      "x-extensibility": "Open",
      "type": "string",
      "enum": [
        "Arcadia Planitia",
        "Utopia Planitia",
        "Amazonis Planitia",
        "Jezero Crater",
        "Gale Crater",
        "Hellas Planitia",
        "Elysium Planitia",
        "Isidis Planitia",
        "Tharsis",
        "Valles Marineris",
        "Meridiani Planum",
        "Deuteronilus Mensae",
        "Planum Boreum",
        "Planum Australe",
        "Other"
      ]
    },
    "HabitatModuleAddress": {
      "description": "Settlement-internal address: ring/corridor/module/hatch. Replaces street address.",
      "x-group": "Location",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Restricted",
      "x-reso21Equivalent": "UnparsedAddress",
      "type": "string",
      "maxLength": 100
    },
    "MarsLatitude": {
      "description": "Planetocentric latitude of the primary airlock, decimal degrees, IAU Mars reference frame.",
      "x-group": "Location",
      "x-marsStatus": "Adapted",
      "x-source": "S04",
      "x-privacy": "Restricted",
      "x-units": "degrees",
      "x-reso21Equivalent": "Latitude",
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "MarsLongitude": {
      "description": "East-positive planetocentric longitude of the primary airlock, decimal degrees (0-360).",
      "x-group": "Location",
      "x-marsStatus": "Adapted",
      "x-source": "S04",
      "x-privacy": "Restricted",
      "x-units": "degrees",
      "x-reso21Equivalent": "Longitude",
      "type": "number",
      "minimum": 0,
      "exclusiveMaximum": 360
    },
    "ElevationToAreoid": {
      "description": "Elevation relative to the MOLA areoid datum. Negative values are common (e.g., Hellas basin).",
      "x-group": "Location",
      "x-marsStatus": "Adapted",
      "x-source": "S05",
      "x-privacy": "Public",
      "x-units": "m",
      "x-reso21Equivalent": "Elevation",
      "type": "number"
    },
    "DepthBelowSurface": {
      "description": "Depth of the habitable floor below local regolith surface; 0 for surface habitats.",
      "x-group": "Location",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-units": "m",
      "type": "number"
    },
    "PoleProximity": {
      "description": "Distance to the nearest polar ice cap margin.",
      "x-group": "Location",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-units": "km",
      "type": "integer"
    },
    "SolarInsolationAnnualMean": {
      "description": "Mean annual surface insolation at the site.",
      "x-group": "Location",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-units": "W/m2",
      "type": "number"
    },
    "OnMarketSol": {
      "description": "Mars Sol Date when the habitat was listed.",
      "x-group": "Time",
      "x-marsStatus": "Adapted",
      "x-source": "S02",
      "x-privacy": "Public",
      "x-rules": [
        "R01"
      ],
      "x-units": "MSD",
      "x-reso21Equivalent": "OnMarketDate",
      "type": "number"
    },
    "OnMarketTimestampUTC": {
      "description": "Earth UTC timestamp of listing, retained for Earth-side replicas.",
      "x-group": "Time",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "OnMarketDate",
      "type": "string",
      "format": "date-time"
    },
    "SolsOnMarket": {
      "description": "Number of sols the listing has been active.",
      "x-group": "Time",
      "x-marsStatus": "Adapted",
      "x-source": "S02",
      "x-privacy": "Public",
      "x-rules": [
        "R05"
      ],
      "x-units": "sols",
      "x-reso21Equivalent": "DaysOnMarket",
      "type": "integer"
    },
    "CumulativeSolsOnMarket": {
      "description": "Sols on market across relistings of the same habitat.",
      "x-group": "Time",
      "x-marsStatus": "Adapted",
      "x-source": "S02",
      "x-privacy": "Public",
      "x-rules": [
        "R06"
      ],
      "x-units": "sols",
      "x-reso21Equivalent": "CumulativeDaysOnMarket",
      "type": "integer"
    },
    "MarsYearCommissioned": {
      "description": "Mars Year (Clancy numbering) in which the habitat was first pressurized.",
      "x-group": "Time",
      "x-marsStatus": "Adapted",
      "x-source": "S03",
      "x-privacy": "Public",
      "x-rules": [
        "R04"
      ],
      "x-units": "MY",
      "x-reso21Equivalent": "YearBuilt",
      "type": "integer"
    },
    "SeasonListed": {
      "description": "Season at listing, derived from solar longitude (Ls).",
      "x-group": "Time",
      "x-marsStatus": "New",
      "x-source": "S02",
      "x-privacy": "Public",
      "x-rules": [
        "R03"
      ],
      "x-lookup": "MarsSeason",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "Northern Spring",
        "Northern Summer",
        "Northern Autumn",
        "Northern Winter"
      ]
    },
    "SolarLongitudeAtListing": {
      "description": "Ls (0-360) at the moment of listing; seasonal context for power and dust risk.",
      "x-group": "Time",
      "x-marsStatus": "New",
      "x-source": "S02",
      "x-privacy": "Public",
      "x-rules": [
        "R02"
      ],
      "x-units": "degrees Ls",
      "type": "number"
    },
    "PressurizedVolume": {
      "description": "Total pressurized internal volume.",
      "x-group": "Structure",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-units": "m3",
      "x-reso21Equivalent": "LivingArea",
      "type": "number"
    },
    "HabitableFloorArea": {
      "description": "Floor area usable for living or work inside the pressure boundary.",
      "x-group": "Structure",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-units": "m2",
      "x-reso21Equivalent": "LivingArea",
      "type": "number"
    },
    "SleepingQuartersTotal": {
      "description": "Number of private sleeping quarters.",
      "x-group": "Structure",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "BedroomsTotal",
      "type": "integer"
    },
    "HygieneStationsTotal": {
      "description": "Number of hygiene/waste stations.",
      "x-group": "Structure",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "BathroomsTotalInteger",
      "type": "integer"
    },
    "ConstructionMethod": {
      "description": "How the pressure shell was built (inflatable, 3D-printed regolith, sintered brick, imported rigid).",
      "x-group": "Structure",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "ConstructionMaterials",
      "x-lookup": "ConstructionMethod",
      "x-extensibility": "Closed",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "Inflatable Softgoods",
          "3D-Printed Regolith",
          "Sintered Regolith Brick",
          "Imported Rigid Module",
          "Ice Shell",
          "Excavated Rock"
        ]
      }
    },
    "OperatingPressure": {
      "description": "Nominal internal pressure.",
      "x-group": "Structure",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-units": "kPa",
      "type": "number"
    },
    "DesignPressureRating": {
      "description": "Maximum internal pressure the shell is certified to hold.",
      "x-group": "Structure",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-rules": [
        "R10"
      ],
      "x-units": "kPa",
      "type": "number"
    },
    "AtmosphereStandard": {
      "description": "Internal atmosphere composition standard.",
      "x-group": "Structure",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-lookup": "AtmosphereStandard",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "Earth Sea Level",
        "Reduced Pressure Enriched O2",
        "Exploration Atmosphere",
        "Custom"
      ]
    },
    "PressureShellCertificationSol": {
      "description": "MSD of the most recent pressure-integrity certification.",
      "x-group": "Structure",
      "x-marsStatus": "New",
      "x-source": "S02",
      "x-privacy": "Public",
      "x-rules": [
        "R11"
      ],
      "x-units": "MSD",
      "type": "number"
    },
    "LeakRatePerSol": {
      "description": "Measured atmosphere loss rate as a percentage of volume per sol.",
      "x-group": "Structure",
      "x-marsStatus": "New",
      "x-source": "S02",
      "x-privacy": "Public",
      "x-units": "%/sol",
      "type": "number"
    },
    "AirlockCount": {
      "description": "Number of airlocks providing egress to the exterior.",
      "x-group": "Access",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "type": "integer"
    },
    "SuitPortCount": {
      "description": "Number of suit ports (rear-entry EVA suit docks).",
      "x-group": "Access",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "type": "integer"
    },
    "RoverBayCount": {
      "description": "Number of pressurized or unpressurized rover bays.",
      "x-group": "Access",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "GarageSpaces",
      "type": "integer"
    },
    "AccessFeatures": {
      "description": "Egress and connection features.",
      "x-group": "Access",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "ParkingFeatures",
      "x-lookup": "AccessFeatures",
      "x-extensibility": "Closed",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "Pressurized Corridor",
          "Single Airlock",
          "Dual Airlock",
          "Suit Port",
          "Pressurized Rover Dock",
          "Unpressurized Rover Bay",
          "Dust Lock"
        ]
      }
    },
    "PressurizedCorridorConnectedYN": {
      "description": "Whether the habitat connects to the settlement by a pressurized corridor (no EVA required).",
      "x-group": "Access",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "type": "boolean"
    },
    "AccessibilityFeatures": {
      "description": "Accessibility features adapted for 0.38 g and suit use.",
      "x-group": "Access",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "AccessibilityFeatures",
      "x-lookup": "AccessibilityFeatures",
      "x-extensibility": "Open",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "Low-Gravity Handrails",
          "Suit Donning Assist",
          "Wide Hatches",
          "Level Pressurized Corridor",
          "Tactile Alarm Indicators"
        ]
      }
    },
    "RadiationShieldingAreal": {
      "description": "Effective shielding areal density over occupied areas.",
      "x-group": "Shielding",
      "x-marsStatus": "New",
      "x-source": "S08; S12",
      "x-privacy": "Public",
      "x-units": "g/cm2",
      "type": "number"
    },
    "RegolithCoverDepth": {
      "description": "Depth of regolith or ice overburden above the pressure shell.",
      "x-group": "Shielding",
      "x-marsStatus": "New",
      "x-source": "S08; S12",
      "x-privacy": "Public",
      "x-rules": [
        "R09"
      ],
      "x-units": "m",
      "type": "number"
    },
    "ShieldingMaterial": {
      "description": "Primary shielding materials.",
      "x-group": "Shielding",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-lookup": "ShieldingMaterial",
      "x-extensibility": "Closed",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "Regolith",
          "Water Ice",
          "Polyethylene",
          "Sintered Regolith",
          "Bedrock"
        ]
      }
    },
    "MeasuredDoseRate": {
      "description": "Measured average dose rate in occupied areas.",
      "x-group": "Shielding",
      "x-marsStatus": "New",
      "x-source": "S08; S12",
      "x-privacy": "Restricted",
      "x-units": "mSv/sol",
      "type": "number"
    },
    "StormShelterOnSiteYN": {
      "description": "Whether a solar-particle-event storm shelter is inside the habitat.",
      "x-group": "Shielding",
      "x-marsStatus": "New",
      "x-source": "S08; S12",
      "x-privacy": "Public",
      "type": "boolean"
    },
    "StormShelterTransitMinutes": {
      "description": "Time to reach the nearest storm shelter if not on site.",
      "x-group": "Shielding",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-rules": [
        "R14"
      ],
      "x-units": "min",
      "type": "integer"
    },
    "LifeSupportArchitecture": {
      "description": "Whether life support is independent, shared with the settlement, or hybrid.",
      "x-group": "LifeSupport",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "Utilities",
      "x-lookup": "LifeSupportArchitecture",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "Independent",
        "Settlement Shared",
        "Hybrid"
      ]
    },
    "OxygenSource": {
      "description": "Primary oxygen sources.",
      "x-group": "LifeSupport",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-lookup": "OxygenSource",
      "x-extensibility": "Closed",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "CO2 Electrolysis",
          "Water Electrolysis",
          "Biological",
          "Settlement Supply",
          "Stored Reserve"
        ]
      }
    },
    "WaterSource": {
      "description": "Primary water sources.",
      "x-group": "LifeSupport",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "WaterSource",
      "x-lookup": "WaterSource",
      "x-extensibility": "Closed",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "Subsurface Ice Mining",
          "Polar Ice Delivery",
          "Atmospheric Capture",
          "Hydrated Mineral Extraction",
          "Recycled",
          "Settlement Supply"
        ]
      }
    },
    "WaterRecoveryRate": {
      "description": "Percentage of wastewater recovered as potable water.",
      "x-group": "LifeSupport",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-units": "%",
      "x-reso21Equivalent": "Sewer",
      "type": "number"
    },
    "ThermalControl": {
      "description": "Heating and heat-rejection methods.",
      "x-group": "LifeSupport",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "Heating",
      "x-lookup": "ThermalControl",
      "x-extensibility": "Closed",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "Electric Resistive",
          "Radioisotope Waste Heat",
          "Heat Pump",
          "Passive Insulation",
          "Radiator Rejection"
        ]
      }
    },
    "LifeSupportRedundancy": {
      "description": "Redundancy level of critical life-support strings.",
      "x-group": "LifeSupport",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-lookup": "LifeSupportRedundancy",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "Single String",
        "Dual String",
        "Triple String",
        "Settlement Backed"
      ]
    },
    "AutonomySols": {
      "description": "Sols the habitat can sustain its rated occupancy with no external resupply or power.",
      "x-group": "LifeSupport",
      "x-marsStatus": "New",
      "x-source": "S02",
      "x-privacy": "Restricted",
      "x-units": "sols",
      "type": "integer"
    },
    "RatedOccupancy": {
      "description": "Maximum occupants supported by installed life-support capacity.",
      "x-group": "LifeSupport",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-rules": [
        "R08"
      ],
      "x-units": "persons",
      "type": "integer"
    },
    "FoodProductionArea": {
      "description": "Grow area for crops inside the pressure boundary.",
      "x-group": "LifeSupport",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-units": "m2",
      "type": "number"
    },
    "PowerSource": {
      "description": "Power generation sources serving the habitat.",
      "x-group": "Power",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "PowerProductionType",
      "x-lookup": "PowerSource",
      "x-extensibility": "Closed",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "Solar Photovoltaic",
          "Fission Surface Power",
          "Radioisotope",
          "Settlement Grid",
          "Wind"
        ]
      }
    },
    "PowerCapacityContinuous": {
      "description": "Continuous power available to the habitat including storage.",
      "x-group": "Power",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-units": "kW",
      "type": "number"
    },
    "PowerStorageCapacity": {
      "description": "Usable on-site energy storage.",
      "x-group": "Power",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-units": "kWh",
      "type": "number"
    },
    "DustStormPowerMarginSols": {
      "description": "Sols of essential load the habitat can carry during a global dust storm.",
      "x-group": "Power",
      "x-marsStatus": "New",
      "x-source": "S02",
      "x-privacy": "Public",
      "x-units": "sols",
      "type": "integer"
    },
    "DustStormExposure": {
      "description": "Relative exposure to regional and global dust storms.",
      "x-group": "Hazard",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-lookup": "HazardRating",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "Low",
        "Moderate",
        "High",
        "Not Assessed"
      ]
    },
    "SeismicRating": {
      "description": "Marsquake hazard rating for the site.",
      "x-group": "Hazard",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-lookup": "HazardRating",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "Low",
        "Moderate",
        "High",
        "Not Assessed"
      ]
    },
    "PerchlorateRemediatedYN": {
      "description": "Whether interior regolith dust has been remediated for perchlorate contamination.",
      "x-group": "Hazard",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "type": "boolean"
    },
    "DustMitigationFeatures": {
      "description": "Measures that keep regolith dust out of the habitable volume.",
      "x-group": "Hazard",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-lookup": "DustMitigation",
      "x-extensibility": "Closed",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "Dust Lock",
          "Electrostatic Cleaning",
          "Suit Port Entry",
          "HEPA Filtration"
        ]
      }
    },
    "PlanetaryProtectionZone": {
      "description": "Planetary-protection classification of the site (e.g., near a candidate special region).",
      "x-group": "Hazard",
      "x-marsStatus": "Adapted",
      "x-source": "S07",
      "x-privacy": "Public",
      "x-reso21Equivalent": "Zoning",
      "x-lookup": "PlanetaryProtectionZone",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "Unrestricted",
        "Buffer",
        "Restricted"
      ]
    },
    "View": {
      "description": "Exterior views available through windows or external cameras.",
      "x-group": "Characteristics",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "View",
      "x-lookup": "View",
      "x-extensibility": "Open",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "Crater Rim",
          "Polar Cap",
          "Volcano",
          "Canyon",
          "Dune Field",
          "Sunrise Horizon",
          "Earth Visible"
        ]
      }
    },
    "ViewPortType": {
      "description": "Whether exterior views are physical windows or camera feeds.",
      "x-group": "Characteristics",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-lookup": "ViewPortType",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "Physical Window",
        "Camera Feed",
        "Both",
        "None"
      ]
    },
    "CommunityFeatures": {
      "description": "Shared settlement facilities accessible from the habitat.",
      "x-group": "Characteristics",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "CommunityFeatures",
      "x-lookup": "CommunityFeatures",
      "x-extensibility": "Open",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "Shared Greenhouse",
          "Medical Bay",
          "Storm Shelter",
          "Fabrication Shop",
          "Recreation Volume",
          "School"
        ]
      }
    },
    "Furnished": {
      "description": "Furnishing status.",
      "x-group": "Characteristics",
      "x-marsStatus": "Retained",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "Furnished",
      "x-lookup": "Furnished",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "Furnished",
        "Partially",
        "Unfurnished"
      ]
    },
    "PublicRemarks": {
      "description": "Text description of the habitat for public display.",
      "x-group": "Remarks",
      "x-marsStatus": "Retained",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "PublicRemarks",
      "type": "string",
      "maxLength": 4000
    },
    "ShowingMode": {
      "description": "How prospective occupants may inspect the habitat.",
      "x-group": "Showing",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "ShowingInstructions",
      "x-lookup": "ShowingMode",
      "x-extensibility": "Closed",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "Virtual Tour",
          "Pressurized Walkthrough",
          "EVA Walkthrough",
          "Telepresence Robot"
        ]
      }
    },
    "VirtualTourURL": {
      "description": "Link to a full virtual tour; the expected default viewing method.",
      "x-group": "Showing",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "VirtualTourURLUnbranded",
      "type": "string",
      "maxLength": 8000
    },
    "EarthBuyerEarliestArrivalWindow": {
      "description": "Next transit window in which an Earth-based occupant could arrive.",
      "x-group": "Transit",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "type": "string"
    },
    "OriginatingSystemName": {
      "description": "Name of the system that originated the record (Mars-side MLS of record).",
      "x-group": "Replication",
      "x-marsStatus": "Retained",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "OriginatingSystemName",
      "type": "string",
      "maxLength": 255
    },
    "ModificationTimestampMTC": {
      "description": "Last modified, in Coordinated Mars Time (MTC). Format: MSD <sol> HH:MM:SS (Coordinated Mars Time).",
      "x-group": "Replication",
      "x-marsStatus": "Adapted",
      "x-source": "S02",
      "x-privacy": "Public",
      "x-reso21Equivalent": "ModificationTimestamp",
      "type": "string",
      "pattern": "^MSD \\d+ ([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$"
    },
    "ModificationTimestampUTC": {
      "description": "Last modified, in Earth UTC.",
      "x-group": "Replication",
      "x-marsStatus": "Adapted",
      "x-source": "S01",
      "x-privacy": "Public",
      "x-reso21Equivalent": "ModificationTimestamp",
      "type": "string",
      "format": "date-time"
    },
    "ReplicationState": {
      "description": "Sync state of this record with Earth-side replicas.",
      "x-group": "Replication",
      "x-marsStatus": "New",
      "x-source": "S12",
      "x-privacy": "Public",
      "x-lookup": "ReplicationState",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "Synced",
        "Pending Uplink",
        "In Flight",
        "Conjunction Hold",
        "Conflict"
      ]
    },
    "ElevationSource": {
      "description": "Dataset or method behind ElevationToAreoid.",
      "x-group": "SiteData",
      "x-marsStatus": "New",
      "x-source": "S20",
      "x-privacy": "Public",
      "x-lookup": "ElevationSource",
      "x-extensibility": "Closed",
      "type": "string",
      "enum": [
        "MOLA MEGDR 4 ppd",
        "MOLA MEGDR 128 ppd",
        "Site Survey",
        "Estimated"
      ]
    },
    "EstimatedSurfacePressure": {
      "description": "Estimated mean surface air pressure from elevation: 610 Pa at the datum, 11.1 km scale height. Seasonal swing is about a quarter.",
      "x-group": "SiteData",
      "x-marsStatus": "New",
      "x-source": "S20; S12",
      "x-privacy": "Public",
      "x-rules": [
        "R18"
      ],
      "x-units": "Pa",
      "type": "integer"
    },
    "GroundIceConsistency0to1m": {
      "description": "SWIM ice consistency for the top metre at the site: +1 consistent with ice, 0 no indication, -1 inconsistent.",
      "x-group": "SiteData",
      "x-marsStatus": "New",
      "x-source": "S17",
      "x-privacy": "Public",
      "x-units": "consistency",
      "type": "number",
      "minimum": -1,
      "maximum": 1
    },
    "GroundIceConsistency1to5m": {
      "description": "SWIM ice consistency for 1 to 5 m depth.",
      "x-group": "SiteData",
      "x-marsStatus": "New",
      "x-source": "S17",
      "x-privacy": "Public",
      "x-units": "consistency",
      "type": "number",
      "minimum": -1,
      "maximum": 1
    },
    "GroundIceConsistencyBelow5m": {
      "description": "SWIM ice consistency below 5 m.",
      "x-group": "SiteData",
      "x-marsStatus": "New",
      "x-source": "S17",
      "x-privacy": "Public",
      "x-units": "consistency",
      "type": "number",
      "minimum": -1,
      "maximum": 1
    },
    "HostCraterId": {
      "description": "Catalogue ID of the smallest crater (5 km or more) containing the site.",
      "x-group": "SiteData",
      "x-marsStatus": "New",
      "x-source": "S18",
      "x-privacy": "Public",
      "type": "string",
      "maxLength": 20
    },
    "HostCraterDiameter": {
      "description": "Diameter of the host crater.",
      "x-group": "SiteData",
      "x-marsStatus": "New",
      "x-source": "S18",
      "x-privacy": "Public",
      "x-units": "km",
      "type": "number"
    },
    "HostCraterCentreDistance": {
      "description": "Distance from the site to the host crater centre.",
      "x-group": "SiteData",
      "x-marsStatus": "New",
      "x-source": "S18",
      "x-privacy": "Public",
      "x-rules": [
        "R17"
      ],
      "x-units": "km",
      "type": "number"
    },
    "CraterRimsWithin10km": {
      "description": "Number of craters 1 km or larger whose rim lies within 10 km of the site.",
      "x-group": "SiteData",
      "x-marsStatus": "New",
      "x-source": "S18",
      "x-privacy": "Public",
      "type": "integer"
    },
    "NearestCraterRimDistance": {
      "description": "Distance to the nearest crater rim (craters 1 km or larger).",
      "x-group": "SiteData",
      "x-marsStatus": "New",
      "x-source": "S18",
      "x-privacy": "Public",
      "x-units": "km",
      "type": "number"
    },
    "NearestMissionSite": {
      "description": "Nearest historical landing site, as a landmark.",
      "x-group": "SiteData",
      "x-marsStatus": "New",
      "x-source": "S19",
      "x-privacy": "Public",
      "type": "string",
      "maxLength": 50
    },
    "NearestMissionSiteDistance": {
      "description": "Great-circle distance to NearestMissionSite.",
      "x-group": "SiteData",
      "x-marsStatus": "New",
      "x-source": "S19",
      "x-privacy": "Public",
      "x-units": "km",
      "type": "integer"
    }
  }
}