{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/switchboardfinance-com-au/json-schema/switchboardfinance-com-au-scenario-schema.json",
  "title": "Scenario",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/switchboardfinance-com-au-openapi.json#/components/schemas/Scenario",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "purpose": {
      "type": "string",
      "description": "What the funds are for"
    },
    "situation": {
      "type": "string",
      "description": "ATO debt, low doc, declined by a bank, urgency, credit issues"
    },
    "security": {
      "type": "string",
      "description": "Property, vehicle, equipment, or none"
    },
    "amount": {
      "type": "number",
      "description": "Amount sought in AUD"
    },
    "property_value": {
      "type": "number",
      "description": "Value of property offered as security, AUD"
    },
    "existing_debt": {
      "type": "number",
      "description": "Amount owed against that property, AUD"
    },
    "borrower_type": {
      "type": "string",
      "description": "company, trust, sole trader or partnership"
    },
    "trading_months": {
      "type": "integer",
      "description": "Months the ABN has traded"
    },
    "needed_within_days": {
      "type": "integer",
      "description": "How soon funds are needed"
    },
    "business_purpose": {
      "type": "boolean",
      "description": "False means personal or household purpose (out of scope)"
    }
  }
}