id: finance-annual-update namespace: schoolcompare.data description: Fetch FBIT financial benchmarking data from DfE API for all schools triggers: - id: annual-schedule type: io.kestra.plugin.core.trigger.Schedule cron: "0 4 1 12 *" # 1 December annually at 04:00 tasks: - id: download type: io.kestra.plugin.core.http.Request uri: http://integrator:8001/run/finance?action=download method: POST timeout: PT120M # Fetches per-school from API — ~20k schools - id: load type: io.kestra.plugin.core.http.Request uri: http://integrator:8001/run/finance?action=load method: POST timeout: PT30M retry: type: constant maxAttempts: 2 interval: PT30M