Function verifyClaimAgainstSchema

  • Verifies the structure of the provided IClaim['contents'] with ICType.

    Parameters

    • claimContents: IClaimContents

      IClaim['contents'] to be verified against the schema.

    • schema: ICType

      ICType to be verified against the CTypeModel.

    • Optional messages: string[]

      An array, which will be filled by schema errors.

    Returns void