{
  "version": "1.0.1",
  "description": "Leafwax v10 hydrogen isotope inversion model metadata",
  "models": {
    "baseline": {
      "name": "baseline",
      "description": "Basic OIPC model without spatial or environmental effects",
      "is_spatial": false,
      "required_predictors": [],
      "optional_predictors": [],
      "parameters": ["beta_0", "beta_oipc", "sigma"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": false,
        "c4": false,
        "vegetation": false,
        "interaction": false
      }
    },
    "baseline_sp": {
      "name": "baseline_sp",
      "description": "Basic OIPC model with spatial Gaussian process",
      "is_spatial": true,
      "required_predictors": ["longitude", "latitude"],
      "optional_predictors": [],
      "parameters": ["beta_0", "beta_oipc", "sigma", "lambda_decay", "effective_scale_km", "spatial_effects"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": false,
        "c4": false,
        "vegetation": false,
        "interaction": false
      }
    },
    "baseline_env": {
      "name": "baseline_env",
      "description": "OIPC model with precipitation-amount effect",
      "is_spatial": false,
      "required_predictors": [],
      "optional_predictors": ["precipitation_amount"],
      "parameters": ["beta_0", "beta_oipc", "sigma", "beta_precip"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": true,
        "c4": false,
        "vegetation": false,
        "interaction": false
      }
    },
    "baseline_env_sp": {
      "name": "baseline_env_sp",
      "description": "OIPC + precipitation-amount + spatial effects",
      "is_spatial": true,
      "required_predictors": ["longitude", "latitude"],
      "optional_predictors": ["precipitation_amount"],
      "parameters": ["beta_0", "beta_oipc", "sigma", "beta_precip", "lambda_decay", "effective_scale_km", "spatial_effects"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": true,
        "c4": false,
        "vegetation": false,
        "interaction": false
      }
    },
    "baseline_veg": {
      "name": "baseline_veg",
      "description": "OIPC model with vegetation interaction effects (C4/PFT)",
      "is_spatial": false,
      "required_predictors": ["c4_fraction", "pft_tree", "pft_shrub", "pft_grass"],
      "optional_predictors": [],
      "parameters": ["beta_0", "beta_oipc", "sigma", "beta_c4", "beta_tree", "beta_shrub", "beta_grass", "beta_oipc_x_c4", "beta_oipc_x_tree", "beta_oipc_x_shrub", "beta_oipc_x_grass"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": false,
        "c4": true,
        "vegetation": true,
        "interaction": true
      }
    },
    "baseline_veg_sp": {
      "name": "baseline_veg_sp",
      "description": "OIPC + vegetation interactions + spatial effects",
      "is_spatial": true,
      "required_predictors": ["longitude", "latitude", "c4_fraction", "pft_tree", "pft_shrub", "pft_grass"],
      "optional_predictors": [],
      "parameters": ["beta_0", "beta_oipc", "sigma", "beta_c4", "beta_tree", "beta_shrub", "beta_grass", "beta_oipc_x_c4", "beta_oipc_x_tree", "beta_oipc_x_shrub", "beta_oipc_x_grass", "lambda_decay", "effective_scale_km", "spatial_effects"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": false,
        "c4": true,
        "vegetation": true,
        "interaction": true
      }
    },
    "c4_only_sp": {
      "name": "c4_only_sp",
      "description": "OIPC + C4 fraction + spatial effects",
      "is_spatial": true,
      "required_predictors": ["longitude", "latitude", "c4_fraction"],
      "optional_predictors": [],
      "parameters": ["beta_0", "beta_oipc", "sigma", "beta_c4", "lambda_decay", "effective_scale_km", "spatial_effects"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": false,
        "c4": true,
        "vegetation": false,
        "interaction": false
      }
    },
    "elevation_only_sp": {
      "name": "elevation_only_sp",
      "description": "OIPC + spatial effects (historical elevation-context variant; no fitted elevation coefficient)",
      "is_spatial": true,
      "required_predictors": ["longitude", "latitude"],
      "optional_predictors": [],
      "parameters": ["beta_0", "beta_oipc", "sigma", "lambda_decay", "effective_scale_km", "spatial_effects"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": false,
        "c4": false,
        "vegetation": false,
        "interaction": false
      }
    },
    "elevation_c4_sp": {
      "name": "elevation_c4_sp",
      "description": "OIPC + C4 + spatial effects (historical elevation-context variant)",
      "is_spatial": true,
      "required_predictors": ["longitude", "latitude", "c4_fraction"],
      "optional_predictors": [],
      "parameters": ["beta_0", "beta_oipc", "sigma", "beta_c4", "lambda_decay", "effective_scale_km", "spatial_effects"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": false,
        "c4": true,
        "vegetation": false,
        "interaction": false
      }
    },
    "elevation_c4_interact_sp": {
      "name": "elevation_c4_interact_sp",
      "description": "OIPC + C4 + spatial effects (historical elevation/interaction-context variant; no fitted elevation or interaction coefficient)",
      "is_spatial": true,
      "required_predictors": ["longitude", "latitude", "c4_fraction"],
      "optional_predictors": [],
      "parameters": ["beta_0", "beta_oipc", "sigma", "beta_c4", "lambda_decay", "effective_scale_km", "spatial_effects"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": false,
        "c4": true,
        "vegetation": false,
        "interaction": false
      }
    },
    "full": {
      "name": "full",
      "description": "Precipitation amount + vegetation interactions",
      "is_spatial": false,
      "required_predictors": ["c4_fraction", "pft_tree", "pft_shrub", "pft_grass"],
      "optional_predictors": ["precipitation_amount"],
      "parameters": ["beta_0", "beta_oipc", "sigma", "beta_precip", "beta_c4", "beta_tree", "beta_shrub", "beta_grass", "beta_oipc_x_c4", "beta_oipc_x_tree", "beta_oipc_x_shrub", "beta_oipc_x_grass"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": true,
        "c4": true,
        "vegetation": true,
        "interaction": true
      }
    },
    "full_sp": {
      "name": "full_sp",
      "description": "Precipitation amount + vegetation interactions + spatial GP",
      "is_spatial": true,
      "required_predictors": ["longitude", "latitude", "c4_fraction", "pft_tree", "pft_shrub", "pft_grass"],
      "optional_predictors": ["precipitation_amount"],
      "parameters": ["beta_0", "beta_oipc", "sigma", "beta_precip", "beta_c4", "beta_tree", "beta_shrub", "beta_grass", "beta_oipc_x_c4", "beta_oipc_x_tree", "beta_oipc_x_shrub", "beta_oipc_x_grass", "lambda_decay", "effective_scale_km", "spatial_effects"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": true,
        "c4": true,
        "vegetation": true,
        "interaction": true
      }
    },
    "full_interact": {
      "name": "full_interact",
      "description": "Precipitation amount + vegetation interactions (no spatial GP)",
      "is_spatial": false,
      "required_predictors": ["c4_fraction", "pft_tree", "pft_shrub", "pft_grass"],
      "optional_predictors": ["precipitation_amount"],
      "parameters": ["beta_0", "beta_oipc", "sigma", "beta_precip", "beta_c4", "beta_tree", "beta_shrub", "beta_grass", "beta_oipc_x_c4", "beta_oipc_x_tree", "beta_oipc_x_shrub", "beta_oipc_x_grass"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": true,
        "c4": true,
        "vegetation": true,
        "interaction": true
      }
    },
    "full_interact_sp": {
      "name": "full_interact_sp",
      "description": "Precipitation amount + vegetation interactions + spatial GP",
      "is_spatial": true,
      "required_predictors": ["longitude", "latitude", "c4_fraction", "pft_tree", "pft_shrub", "pft_grass"],
      "optional_predictors": ["precipitation_amount"],
      "parameters": ["beta_0", "beta_oipc", "sigma", "beta_precip", "beta_c4", "beta_tree", "beta_shrub", "beta_grass", "beta_oipc_x_c4", "beta_oipc_x_tree", "beta_oipc_x_shrub", "beta_oipc_x_grass", "lambda_decay", "effective_scale_km", "spatial_effects"],
      "capabilities": {
        "elevation": false,
        "precipitation_amount": true,
        "c4": true,
        "vegetation": true,
        "interaction": true
      }
    }
  },
  "full_posteriors_size_mb": 10.34,
  "preview_posteriors_size_mb": 1.46,
  "spatial_models": [
    "baseline_sp", "baseline_env_sp", "baseline_veg_sp",
    "c4_only_sp", "elevation_only_sp", "elevation_c4_sp",
    "elevation_c4_interact_sp", "full_sp", "full_interact_sp"
  ],
  "non_spatial_models": [
    "baseline", "baseline_env", "baseline_veg",
    "full", "full_interact"
  ],
  "notes": {
    "coordinates": "Longitude and latitude are required for spatial GP prediction.",
    "elevation": "Elevation coefficients were not fitted in the v10 posteriors; supplied elevation is not used by shipped models.",
    "precipitation_amount": "Models with beta_precip contain a fitted precipitation-amount coefficient, but the public inversion API does not currently accept a precipitation-amount covariate.",
    "c4_fraction": "C4 vegetation cover as a fraction in [0, 1] on the public API; converted to percent (0-100) internally before standardisation.",
    "pft": "Plant functional type fractions should sum to 1.0.",
    "spatial_knots": "All spatial models use 125 Fibonacci sphere knots for GP approximation."
  }
}
