{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/akahu/main/json-schema/akahu-application-create-params-schema.json",
  "title": "ApplicationCreateParams",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/akahu-applications-api-openapi.yml#/components/schemas/ApplicationCreateParams",
  "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": "If `report_type` is omitted, the application uses your organisation's default report type."
    }
  },
  "required": [
    "reference"
  ]
}