AGT / code /configs /masks /verify_schema.json
MRBSTUDIO's picture
Update the inference and evaluation code
2ad60ce verified
Raw History Blame Contribute Delete
1.02 kB
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"additionalProperties": false,
"properties": {
"schema_version": {"type": "string", "const": "candidate_verify_v1"},
"template_id": {"type": "string", "minLength": 1},
"page_index": {"type": "integer", "minimum": 0},
"verdicts": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"candidate_id": {"type": "integer", "minimum": 0},
"opaque_hard": {"type": "string", "enum": ["yes", "no", "uncertain"]},
"category": {"type": "string", "enum": ["dashboard", "hood", "pillar", "mirror", "ornament", "device", "wiper", "paper", "cloth", "visor", "other"]},
"reason": {"type": "string", "minLength": 1}
},
"required": ["candidate_id", "opaque_hard", "category", "reason"]
}
}
},
"required": ["schema_version", "template_id", "page_index", "verdicts"]
}