Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] CTK test SDK error on match response validation analyticsInfo. #1043

Open
hoanghiep23 opened this issue May 31, 2024 · 0 comments
Open

Comments

@hoanghiep23
Copy link

Dear Team,
I test CTK on Synergy for SDK and get schema validation error for all test cases that contains match function.
Match_response_validation_error_analyticsInfo
Last time I get success for all test cases.
After checked resources\schemas\sdk\0.9.0\MatchResponseSchema.json, I see match response was updated with additionalProperties:

"IRIS": {
	"type": "object",
	"additionalProperties": false,
	"properties": {
		"match": {
			"type": "string"
		},
		"errors": {
			"type": "array",
			"items": {}
		},
		"analyticsInfo": {
			"type": "object",
			"additionalProperties": false
		}
	},
	"required": [
		"match",
		"errors",
		"analyticsInfo"
	]
}

However, the specs say that:

Output Parameters

MatchDecision[] - Array of MatchDecision of the size same as the input parameter gallery. Each MatchDecision object will contain a list of decisions by biometric type. The decision information is a yes/no/error decision along with an analytics object which contain key value pairs that provide more insight into the decision.

It means we can add key-value into analyticsInfo object.
Please help me to check the specs and above error.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant