{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.argusenterprise.com/schemas/argus-enterprise/lease.json",
  "title": "Argus Enterprise Lease",
  "description": "Represents a commercial real estate lease agreement in the ARGUS Enterprise platform, including tenant details, rent schedules, escalation terms, and lease options.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique lease identifier"
    },
    "propertyId": {
      "type": "string",
      "format": "uuid",
      "description": "Associated property identifier"
    },
    "tenantId": {
      "type": "string",
      "format": "uuid",
      "description": "Associated tenant identifier"
    },
    "tenantName": {
      "type": "string",
      "description": "Tenant name"
    },
    "unitNumber": {
      "type": "string",
      "description": "Unit or suite number"
    },
    "leaseType": {
      "type": "string",
      "enum": ["Gross", "Net", "DoubleNet", "TripleNet", "ModifiedGross", "PercentageRent"],
      "description": "Type of lease"
    },
    "status": {
      "type": "string",
      "enum": ["Active", "Expired", "Pending"],
      "description": "Current lease status"
    },
    "startDate": {
      "type": "string",
      "format": "date",
      "description": "Lease commencement date"
    },
    "endDate": {
      "type": "string",
      "format": "date",
      "description": "Lease expiration date"
    },
    "leasedArea": {
      "type": "number",
      "description": "Leased area in square feet"
    },
    "baseRent": {
      "type": "number",
      "description": "Base rent amount per period"
    },
    "rentFrequency": {
      "type": "string",
      "enum": ["Monthly", "Quarterly", "Annual"],
      "description": "Rent payment frequency"
    },
    "rentPerSquareFoot": {
      "type": "number",
      "description": "Rent per square foot per annum"
    },
    "escalationRate": {
      "type": "number",
      "description": "Annual rent escalation rate (percentage)"
    },
    "escalationType": {
      "type": "string",
      "enum": ["Fixed", "CPI", "MarketReset", "StepUp"],
      "description": "Type of rent escalation"
    },
    "securityDeposit": {
      "type": "number",
      "description": "Security deposit amount"
    },
    "tenantImprovementAllowance": {
      "type": "number",
      "description": "Tenant improvement allowance"
    },
    "options": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "optionType": {
            "type": "string",
            "enum": ["Renewal", "Expansion", "Termination", "PurchaseOption"],
            "description": "Type of lease option"
          },
          "noticeDate": {
            "type": "string",
            "format": "date",
            "description": "Date by which notice must be given"
          },
          "exerciseDate": {
            "type": "string",
            "format": "date",
            "description": "Date the option can be exercised"
          },
          "termMonths": {
            "type": "integer",
            "description": "Duration of option term in months"
          },
          "rentAdjustment": {
            "type": "string",
            "description": "Description of rent adjustment terms"
          }
        }
      },
      "description": "Lease renewal or expansion options"
    },
    "currency": {
      "type": "string",
      "description": "Currency code (ISO 4217)"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Record creation timestamp"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Record last update timestamp"
    }
  },
  "required": ["tenantId", "leaseType", "startDate", "endDate", "baseRent"]
}
