Knowledge base MessagesEntitiesAttributesCode listsErrors and fixesProcessesRolesReleasesGlossaryEcosystemCompare Validator NL EN

Schema error

startAmount not in two decimals (multipleOf 0.01)

Symptom

Schema error 'must be multiple of 0.01'.

Cause

Amounts are passed unrounded from a calculation (for example 500000.123).

Fix

Round amounts to two decimals before serialising; make sure your validator tests multipleOf with sufficient precision (AJV: multipleOfPrecision).

Wrong and right

Wrong

{ "startAmount": 500000.123 }

Right

{ "startAmount": 500000.12 }

Check your own message for this and all other errors with the free validator: schema, code lists and consistency checks in one report.Validate a message

Attribution. Source: SIVI – VB-PUO Standard. Schemas, attribute descriptions and code lists are taken unchanged from the VB-PUO Standard (owned by the Pensioenfederatie, managed by SIVI) and shown with their release and version. Explanations, examples, error descriptions and translations are by WTP Data Lab and are not part of the standard. GitHub Stichting-SIVI/VBPUOdsk · Manual · sivi.org