Function verifyClaimAgainstNestedSchemas

  • Validates an array of CTypes against a Claim.

    Parameters

    • cType: ICType

      A CType that has nested CTypes inside.

    • nestedCTypes: ICType[]

      An array of CType schemas.

    • claimContents: Record<string, any>

      The contents of a Claim to be validated.

    • Optional messages: string[]

      Optional empty array. If passed, this receives all verification errors.

    Returns void