Raw schema
{
"type": "object",
"properties": {
"ii": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Interaction Integrity (0–1). Alternatively pass integrity sub-scores."
},
"integrity": {
"type": "object",
"description": "Sub-scores used to compute II by weighted harmonic mean when ii is omitted",
"properties": {
"accuracy": {
"type": "number"
},
"calibration": {
"type": "number"
},
"scope": {
"type": "number"
}
}
},
"cf": {
"type": "object",
"description": "Consent Fidelity per event class (0–1). Missing values fail the gate closed.",
"properties": {
"action": {
"type": "number"
},
"memoryWrite": {
"type": "number"
},
"identity": {
"type": "number"
},
"perception": {
"type": "number"
}
},
"required": [
"action",
"memoryWrite",
"identity",
"perception"
]
},
"safetyCase": {
"type": "boolean",
"description": "Deployment holds a valid external safety case or type approval for its ODD"
},
"bystanderLegibility": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Bystander Legibility (0–1); gate requires >= 0.95"
},
"roles": {
"type": "array",
"description": "Role-level metrics (principal, supervisor, occupant). Give baseScore directly or the metrics.",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string"
},
"episodes": {
"type": "number"
},
"baseScore": {
"type": "number"
},
"timeToReassurance": {
"type": "number"
},
"timeToReadiness": {
"type": "number"
},
"ttc": {
"type": "number",
"description": "Time-to-Comfort in seconds"
},
"pc": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Presence Continuity (0–1)"
},
"tdr": {
"type": "number",
"description": "Trust Decay Rate in trust-index points/day"
},
"re": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Repair Efficacy (0–1)"
},
"cli": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Cognitive Load Index (0–100)"
}
}
}
}
},
"required": [
"cf",
"safetyCase",
"bystanderLegibility"
]
}