{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema://formula/SATELLITE_LIFECYCLE_GATE_V1",
  "title": "SATELLITE_LIFECYCLE_GATE_V1",
  "type": "object",
  "properties": {
    "formula_id": {
      "const": "SATELLITE_LIFECYCLE_GATE_V1"
    },
    "owner": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "inputs": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "outputs": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "formula_id",
    "owner",
    "status",
    "inputs",
    "outputs"
  ],
  "x_formula_inputs": [
    "ticker",
    "composite_verdict",
    "brt_verdict",
    "excess_drawdown_pctp",
    "entry_date",
    "alpha_evaluation_window_json"
  ],
  "x_formula_outputs": [
    {
      "field": "satellite_lifecycle_stage",
      "unit": "enum [WATCH,PILOT,CONFIRMED,REVIEW,EXIT]"
    },
    {
      "field": "lifecycle_transition_reason",
      "unit": "string"
    },
    {
      "field": "lifecycle_days_in_stage",
      "unit": "int"
    }
  ]
}
