{
  "template": "orsf-import/0.1",
  "name": "Example Wholesale A daily sheet",
  "worksheet": "Rates",
  "priceFormat": "100-based",
  "adjustmentSign": "as-is",
  "effectiveAt": {
    "cell": "B2",
    "timezone": "America/New_York"
  },
  "expiresAfterHours": 24,
  "products": [
    {
      "id": "conv30",
      "name": "Conventional 30 Year Fixed",
      "loanType": "Conventional",
      "amortization": "Fixed",
      "termMonths": 360,
      "eligibility": [
        {
          "var": "fico",
          "min": "620"
        },
        {
          "var": "ltv",
          "max": "97"
        }
      ],
      "lockDays": [
        15,
        30,
        45,
        60
      ],
      "rates": {
        "range": "A6:A12"
      },
      "prices": {
        "range": "B6:E12"
      },
      "maxPrice": {
        "cell": "B14"
      }
    }
  ],
  "grids": [
    {
      "id": "fico_ltv",
      "name": "Credit score × LTV",
      "rowVar": "fico",
      "colVar": "ltv",
      "rows": [
        {
          "min": "780"
        },
        {
          "min": "760",
          "max": "779"
        },
        {
          "min": "740",
          "max": "759"
        },
        {
          "min": "720",
          "max": "739"
        },
        {
          "min": "700",
          "max": "719"
        },
        {
          "min": "620",
          "max": "699"
        }
      ],
      "cols": [
        {
          "max": "60"
        },
        {
          "min": "60.01",
          "max": "75"
        },
        {
          "min": "75.01",
          "max": "80"
        },
        {
          "min": "80.01",
          "max": "90"
        },
        {
          "min": "90.01",
          "max": "97"
        }
      ],
      "values": {
        "range": "H6:L11"
      }
    }
  ],
  "rules": [
    {
      "id": "condo",
      "name": "Condo (LTV over 75)",
      "when": [
        {
          "var": "propertyType",
          "in": [
            "Condo"
          ]
        },
        {
          "var": "ltv",
          "min": "75.01"
        }
      ],
      "value": {
        "cell": "H14"
      }
    },
    {
      "id": "investment",
      "name": "Investment property",
      "when": [
        {
          "var": "occupancy",
          "in": [
            "Investment"
          ]
        }
      ],
      "value": {
        "cell": "H15"
      }
    },
    {
      "id": "state_ny",
      "name": "New York",
      "when": [
        {
          "var": "state",
          "in": [
            "NY"
          ]
        }
      ],
      "value": {
        "cell": "H16"
      }
    },
    {
      "id": "dti40",
      "name": "DTI over 40%",
      "when": [
        {
          "var": "dti",
          "min": "40.01"
        }
      ],
      "value": {
        "cell": "H17"
      }
    }
  ]
}
