{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/akahu/main/json-schema/akahu-application-update-params-schema.json",
  "title": "ApplicationUpdateParams",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/akahu-applications-api-openapi.yml#/components/schemas/ApplicationUpdateParams",
  "type": "object",
  "properties": {
    "reference": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "A value used to identify the application in a way that makes sense to the creator.\n\nFor some this may include the applicant names, for others it may be a unique reference from their CRM.\n\nIt does not need to be unique."
    },
    "report_type": {
      "type": "string",
      "enum": [
        "standard",
        "income"
      ],
      "description": "Changing `report_type` starts a new report for the application. Create or fetch the application's report as usual to get it."
    }
  }
}