{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/canopyservicing-com/json-schema/canopyservicing-com-get-account-policies-response-schema.json",
  "title": "GetAccountPoliciesResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canopyservicing-com-accounts-api-openapi.yml#/components/schemas/GetAccountPoliciesResponse",
  "properties": {
    "timezone": {
      "type": "string",
      "title": "Timezone",
      "description": "The timezone of the account",
      "default": "America/Los_Angeles"
    },
    "effective_at": {
      "type": "string",
      "title": "Effective At",
      "description": "The effective date of the policies"
    },
    "fee_policies": {
      "$ref": "#/$defs/AccountFeePolicies",
      "default": {
        "immediate_late_fee_accrual": true,
        "late_fee_cents": 0
      }
    },
    "tagging_policies": {
      "$ref": "#/$defs/AccountTaggingPolicies",
      "default": {
        "enable_persistent_debt_evaluation": false
      }
    },
    "account_id": {
      "type": "string",
      "title": "Account Id"
    }
  },
  "type": "object",
  "required": [
    "account_id"
  ],
  "$defs": {
    "AccountFeePolicies": {
      "properties": {
        "immediate_late_fee_accrual": {
          "type": "boolean",
          "title": "Immediate Late Fee Accrual",
          "default": true
        },
        "late_fee_cap_percent": {
          "type": "number",
          "title": "Late Fee Cap Percent"
        },
        "late_fee_cents": {
          "type": "integer",
          "title": "Late Fee Cents",
          "default": 0
        }
      },
      "type": "object",
      "title": "AccountFeePolicies"
    },
    "AccountTaggingPolicies": {
      "properties": {
        "enable_persistent_debt_evaluation": {
          "type": "boolean",
          "title": "Enable Persistent Debt Evaluation",
          "default": false
        }
      },
      "type": "object",
      "title": "AccountTaggingPolicies"
    }
  }
}