SPI contracts: Validator, Diagnostic, Document