{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://genalphai.com/reliability-cost-index/schema.json",
  "title": "Genαi Agent Reliability & Cost Index run",
  "description": "A workload-level, outcome-verified agent run. No prompts, completions, traces, credentials, or personal data.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "methodology_version",
    "workload",
    "tasks",
    "verified_rate",
    "silent_failure_rate",
    "avg_attempts",
    "cost_per_attempt_usd",
    "review_minutes_per_task",
    "reviewer_hourly_usd",
    "p95_latency_seconds"
  ],
  "properties": {
    "methodology_version": {
      "const": "1.0.0"
    },
    "workload": {
      "type": "string",
      "enum": [
        "coding",
        "research",
        "support",
        "data_ops",
        "computer_use",
        "other"
      ]
    },
    "system_label": {
      "type": "string",
      "maxLength": 120,
      "description": "Optional non-sensitive model + harness label."
    },
    "tasks": {
      "type": "integer",
      "minimum": 1
    },
    "verified_rate": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "silent_failure_rate": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "avg_attempts": {
      "type": "number",
      "minimum": 1,
      "maximum": 20
    },
    "cost_per_attempt_usd": {
      "type": "number",
      "minimum": 0
    },
    "review_minutes_per_task": {
      "type": "number",
      "minimum": 0
    },
    "reviewer_hourly_usd": {
      "type": "number",
      "minimum": 0
    },
    "p95_latency_seconds": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "target_cost_per_verified_usd": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "target_p95_latency_seconds": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "notes": {
      "type": "string",
      "maxLength": 500
    }
  }
}