core/packs/common/schema/probe.schema.json

23 lines
644 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "CORE Probe Record",
"description": "A deterministic test case for a language pack gate.",
"type": "object",
"required": ["probe_id", "kind", "input", "expected"],
"properties": {
"probe_id": {
"type": "string",
"description": "Unique identifier in the form '<lang>:<gate>:<label>'."
},
"kind": {
"type": "string",
"enum": ["normalize", "lift", "readback", "alignment", "determinism"]
},
"input": {},
"expected": {},
"tolerance": {
"type": ["number", "null"]
}
},
"additionalProperties": false
}