{
  "$defs": {
    "DisplayPolicy": {
      "enum": [
        "hidden",
        "summary",
        "exact"
      ],
      "title": "DisplayPolicy",
      "type": "string"
    }
  },
  "additionalProperties": false,
  "properties": {
    "allow_exact_finance_values": {
      "default": false,
      "title": "Allow Exact Finance Values",
      "type": "boolean"
    },
    "allow_health_detail_links": {
      "default": false,
      "title": "Allow Health Detail Links",
      "type": "boolean"
    },
    "autoshorts_adapter_mode": {
      "default": "mock",
      "enum": [
        "mock",
        "disabled",
        "local_probe",
        "live_readonly"
      ],
      "title": "Autoshorts Adapter Mode",
      "type": "string"
    },
    "autoshorts_api_base_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Autoshorts Api Base Url"
    },
    "autoshorts_legacy_dashboard_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Autoshorts Legacy Dashboard Url"
    },
    "autoshorts_runtime_base": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Autoshorts Runtime Base"
    },
    "family_legacy_dashboard_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Family Legacy Dashboard Url"
    },
    "finance_adapter_mode": {
      "default": "mock",
      "enum": [
        "mock",
        "live_readonly",
        "disabled"
      ],
      "title": "Finance Adapter Mode",
      "type": "string"
    },
    "finance_api_base_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Finance Api Base Url"
    },
    "finance_legacy_dashboard_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Finance Legacy Dashboard Url"
    },
    "finance_read_timeout_seconds": {
      "default": 3,
      "maximum": 30,
      "minimum": 0.1,
      "title": "Finance Read Timeout Seconds",
      "type": "number"
    },
    "health_adapter_mode": {
      "default": "mock",
      "enum": [
        "mock",
        "local_probe",
        "safe_marker",
        "disabled"
      ],
      "title": "Health Adapter Mode",
      "type": "string"
    },
    "health_legacy_dashboard_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Health Legacy Dashboard Url"
    },
    "health_runtime_base": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Health Runtime Base"
    },
    "health_safe_status_marker_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Health Safe Status Marker Path"
    },
    "health_safe_status_max_age_hours": {
      "default": 72,
      "maximum": 8760,
      "minimum": 1,
      "title": "Health Safe Status Max Age Hours",
      "type": "integer"
    },
    "jarvis_allow_tailnet_links": {
      "default": false,
      "title": "Jarvis Allow Tailnet Links",
      "type": "boolean"
    },
    "jarvis_demo_api_port": {
      "default": 8010,
      "maximum": 65535,
      "minimum": 1,
      "title": "Jarvis Demo Api Port",
      "type": "integer"
    },
    "jarvis_demo_dashboard_port": {
      "default": 5173,
      "maximum": 65535,
      "minimum": 1,
      "title": "Jarvis Demo Dashboard Port",
      "type": "integer"
    },
    "jarvis_demo_mode": {
      "default": true,
      "title": "Jarvis Demo Mode",
      "type": "boolean"
    },
    "jarvis_dev_cors_origins": {
      "items": {
        "type": "string"
      },
      "title": "Jarvis Dev Cors Origins",
      "type": "array"
    },
    "jarvis_env": {
      "default": "development",
      "enum": [
        "development",
        "production"
      ],
      "title": "Jarvis Env",
      "type": "string"
    },
    "jarvis_gateway_host": {
      "default": "127.0.0.1",
      "title": "Jarvis Gateway Host",
      "type": "string"
    },
    "jarvis_gateway_port": {
      "default": 8080,
      "maximum": 65535,
      "minimum": 1,
      "title": "Jarvis Gateway Port",
      "type": "integer"
    },
    "jarvis_operator_demo_profile": {
      "default": "demo_mock",
      "enum": [
        "demo_mock",
        "demo_mixed_readonly",
        "mixed_readonly_handoff"
      ],
      "title": "Jarvis Operator Demo Profile",
      "type": "string"
    },
    "jarvis_operator_public_origin": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Jarvis Operator Public Origin"
    },
    "jarvis_public_base_url": {
      "default": "https://jarvis.local",
      "title": "Jarvis Public Base Url",
      "type": "string"
    },
    "log_level": {
      "default": "INFO",
      "title": "Log Level",
      "type": "string"
    },
    "redaction_default_policy": {
      "$ref": "#/$defs/DisplayPolicy",
      "default": "summary"
    }
  },
  "title": "RuntimeConfig",
  "type": "object"
}
