modelspec-dev · Schema

DecisionResponse

The engine's answer to one spec against one snapshot.

AI Model SelectionCost Analysis

Properties

Name Type Description
near_misses array
top array
chart object
number_origins array
sources array
benchmark_exclusions object
contract_version string
decision_id string
snapshot string
signature_verified boolean
spec_hash string
explain string
status string
answer object
bands object
blend array
results array
by_model array
may_qualify array
eliminated object
truncated object
constraint_costs array
tipping_points array
relax array
relax_to array
relax_task_tokens object
relax_single object
warnings array
out_of_lineup integer
with_estate object
excluded_plans array
feedback object
reading object
coverage object
View JSON Schema on GitHub

JSON Schema

modelspec-dev-decision-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/modelspec-dev/json-schema/modelspec-dev-decision-response-schema.json",
  "title": "DecisionResponse",
  "description": "The engine's answer to one spec against one snapshot.",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/modelspec-dev-openapi.yaml#/components/schemas/DecisionResponse",
  "additionalProperties": false,
  "properties": {
    "near_misses": {
      "items": {
        "$ref": "#/$defs/DecisionNearMiss"
      },
      "type": "array"
    },
    "top": {
      "items": {
        "$ref": "#/$defs/DecisionCandidateValues"
      },
      "type": "array"
    },
    "chart": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "number_origins": {
      "items": {
        "$ref": "#/$defs/DecisionNumberOrigin"
      },
      "type": "array"
    },
    "sources": {
      "items": {
        "$ref": "#/$defs/DecisionCitedSource"
      },
      "type": "array"
    },
    "benchmark_exclusions": {
      "anyOf": [
        {
          "$ref": "#/$defs/DecisionBenchmarkExclusions"
        },
        {
          "type": "null"
        }
      ]
    },
    "contract_version": {
      "const": "2.20",
      "default": "2.20",
      "type": "string"
    },
    "decision_id": {
      "pattern": "^dec_[0-9A-Za-z]{8,}$",
      "type": "string"
    },
    "snapshot": {
      "pattern": "^snap_[A-Za-z0-9:._-]+$",
      "type": "string"
    },
    "signature_verified": {
      "default": false,
      "type": "boolean"
    },
    "spec_hash": {
      "pattern": "^sha256:[0-9a-f]{64}$",
      "type": "string"
    },
    "explain": {
      "enum": [
        "none",
        "summary",
        "full"
      ],
      "type": "string"
    },
    "status": {
      "enum": [
        "answered",
        "partial",
        "no_feasible"
      ],
      "type": "string"
    },
    "answer": {
      "anyOf": [
        {
          "oneOf": [
            {
              "$ref": "#/$defs/DecisionSeparatedAnswer"
            },
            {
              "$ref": "#/$defs/DecisionTiedAnswer"
            }
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "bands": {
      "anyOf": [
        {
          "$ref": "#/$defs/DecisionBands"
        },
        {
          "type": "null"
        }
      ]
    },
    "blend": {
      "items": {
        "$ref": "#/$defs/DecisionBlendTerm"
      },
      "type": "array"
    },
    "results": {
      "items": {
        "$ref": "#/$defs/DecisionResult"
      },
      "type": "array"
    },
    "by_model": {
      "items": {
        "$ref": "#/$defs/DecisionModelRow"
      },
      "type": "array"
    },
    "may_qualify": {
      "items": {
        "$ref": "#/$defs/DecisionMayQualify"
      },
      "type": "array"
    },
    "eliminated": {
      "$ref": "#/$defs/DecisionEliminated"
    },
    "truncated": {
      "$ref": "#/$defs/DecisionTruncated"
    },
    "constraint_costs": {
      "items": {
        "$ref": "#/$defs/DecisionConstraintCost"
      },
      "type": "array"
    },
    "tipping_points": {
      "items": {
        "$ref": "#/$defs/DecisionTippingPoint"
      },
      "type": "array"
    },
    "relax": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "relax_to": {
      "items": {
        "$ref": "#/$defs/DecisionRelaxation"
      },
      "type": "array"
    },
    "relax_task_tokens": {
      "anyOf": [
        {
          "$ref": "#/$defs/DecisionTaskTokensHint"
        },
        {
          "type": "null"
        }
      ]
    },
    "relax_single": {
      "anyOf": [
        {
          "$ref": "#/$defs/DecisionRelaxSingle"
        },
        {
          "type": "null"
        }
      ]
    },
    "warnings": {
      "items": {
        "pattern": "^[a-z0-9_]+$",
        "type": "string"
      },
      "type": "array"
    },
    "out_of_lineup": {
      "default": 0,
      "minimum": 0,
      "type": "integer"
    },
    "with_estate": {
      "anyOf": [
        {
          "$ref": "#/$defs/DecisionWithEstate"
        },
        {
          "type": "null"
        }
      ]
    },
    "excluded_plans": {
      "items": {
        "$ref": "#/$defs/DecisionPlanExclusion"
      },
      "type": "array"
    },
    "feedback": {
      "$ref": "#/$defs/DecisionFeedbackPointer"
    },
    "reading": {
      "anyOf": [
        {
          "$ref": "#/$defs/DecisionReading"
        },
        {
          "type": "null"
        }
      ]
    },
    "coverage": {
      "anyOf": [
        {
          "$ref": "#/$defs/DecisionCoverageRefusal"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "decision_id",
    "snapshot",
    "spec_hash",
    "explain",
    "status"
  ],
  "type": "object",
  "$defs": {
    "DecisionBandEntry": {
      "additionalProperties": false,
      "description": "One model in a band, through its best offering. Added in 2.7 (MODEL-206).",
      "properties": {
        "model": {
          "pattern": "^[a-z0-9][a-z0-9._-]*/[a-z0-9][a-z0-9._-]*$",
          "type": "string"
        },
        "offering": {
          "$ref": "#/$defs/DecisionOfferingRef"
        },
        "score": {
          "type": "number"
        },
        "score_interval": {
          "maxItems": 2,
          "minItems": 2,
          "prefixItems": [
            {
              "type": "number"
            },
            {
              "type": "number"
            }
          ],
          "type": "array"
        },
        "p_best": {
          "anyOf": [
            {
              "maximum": 1,
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "p_beats_leader": {
          "anyOf": [
            {
              "maximum": 1,
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "cost_per_task": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "estimates": {
          "items": {
            "$ref": "#/$defs/DecisionDimensionEstimate"
          },
          "type": "array"
        },
        "warnings": {
          "description": "Assurance warnings for this row.",
          "items": {
            "pattern": "^[a-z0-9_]+$",
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "model",
        "offering",
        "score",
        "score_interval"
      ],
      "type": "object"
    },
    "DecisionBands": {
      "additionalProperties": false,
      "description": "The ranked models in three bands (MODEL-206). Added in 2.7.\n\n``best`` is the leader and every model with enough evidence whose score is\nat least the leader's with probability ``band_probability`` or more,\nordered by ``p_best``. ``rest`` holds the other models with enough\nevidence and ``thin`` the models with a weighted capability interval wider\nthan ``thin_interval_width``, both in score order. Every ranked model is in\nexactly one band.",
      "properties": {
        "basis": {
          "type": "string"
        },
        "band_probability": {
          "exclusiveMaximum": 1,
          "exclusiveMinimum": 0,
          "type": "number"
        },
        "thin_interval_width": {
          "exclusiveMinimum": 0,
          "type": "number"
        },
        "leader": {
          "anyOf": [
            {
              "pattern": "^[a-z0-9][a-z0-9._-]*/[a-z0-9][a-z0-9._-]*$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "best": {
          "items": {
            "$ref": "#/$defs/DecisionBandEntry"
          },
          "type": "array"
        },
        "rest": {
          "items": {
            "$ref": "#/$defs/DecisionBandEntry"
          },
          "type": "array"
        },
        "thin": {
          "items": {
            "$ref": "#/$defs/DecisionBandEntry"
          },
          "type": "array"
        }
      },
      "required": [
        "basis",
        "band_probability",
        "thin_interval_width"
      ],
      "type": "object"
    },
    "DecisionBenchmarkEstimateChange": {
      "additionalProperties": false,
      "description": "How one model's domain estimate changed after removing evidence. Added in 1.12.",
      "properties": {
        "model": {
          "pattern": "^[a-z0-9][a-z0-9._-]*/[a-z0-9][a-z0-9._-]*$",
          "type": "string"
        },
        "domain": {
          "pattern": "^[a-z][a-z0-9_-]*(\\.[a-z0-9_-]+)*$",
          "type": "string"
        },
        "before": {
          "anyOf": [
            {
              "$ref": "#/$defs/DecisionEstimate"
            },
            {
              "type": "null"
            }
          ]
        },
        "after": {
          "anyOf": [
            {
              "$ref": "#/$defs/DecisionEstimate"
            },
            {
              "type": "null"
            }
          ]
        },
        "removed_drivers": {
          "items": {
            "$ref": "#/$defs/DecisionEvidenceItem"
          },
          "type": "array"
        }
      },
      "required": [
        "model",
        "domain"
      ],
      "type": "object"
    },
    "DecisionBenchmarkExclusions": {
      "additionalProperties": false,
      "description": "Benchmarks a spec distrusted and their visible estimate effects. Added in 1.12.",
      "properties": {
        "benchmarks": {
          "items": {
            "pattern": "^[a-z][a-z0-9_-]*(\\.[a-z0-9_-]+)*$",
            "type": "string"
          },
          "type": "array"
        },
        "estimate_changes": {
          "items": {
            "$ref": "#/$defs/DecisionBenchmarkEstimateChange"
          },
          "type": "array"
        }
      },
      "required": [
        "benchmarks"
      ],
      "type": "object"
    },
    "DecisionBlendTerm": {
      "additionalProperties": false,
      "description": "One weighted dimension, its share, and the order on it alone. Added in 2.7 (MODEL-206).\n\nThe weighted score mixes these dimensions; each term says who leads on\nthat dimension by itself. A capability term leads with the best point\nestimate among models with enough evidence on it; ``thin`` lists the rest.\nAn exact term (cost, a fact, a preference) can have several ``leaders``\nwhen they share the best value.",
      "properties": {
        "dimension": {
          "pattern": "^-?[a-z][a-z0-9_-]*(\\.[a-z0-9_-]+)*(/[a-z][a-z0-9_]*)?$",
          "type": "string"
        },
        "weight": {
          "type": "number"
        },
        "share": {
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        },
        "estimated": {
          "type": "boolean"
        },
        "leaders": {
          "items": {
            "pattern": "^[a-z0-9][a-z0-9._-]*/[a-z0-9][a-z0-9._-]*$",
            "type": "string"
          },
          "type": "array"
        },
        "value": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "p_best": {
          "anyOf": [
            {
              "maximum": 1,
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "runner_up": {
          "anyOf": [
            {
              "pattern": "^[a-z0-9][a-z0-9._-]*/[a-z0-9][a-z0-9._-]*$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "p_runner_up": {
          "anyOf": [
            {
              "maximum": 1,
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "order": {
          "items": {
            "pattern": "^[a-z0-9][a-z0-9._-]*/[a-z0-9][a-z0-9._-]*$",
            "type": "string"
          },
          "type": "array"
        },
        "thin": {
          "items": {
            "pattern": "^[a-z0-9][a-z0-9._-]*/[a-z0-9][a-z0-9._-]*$",
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "dimension",
        "weight",
        "share",
        "estimated"
      ],
      "type": "object"
    },
    "DecisionCandidateValues": {
      "additionalProperties": false,
      "properties": {
        "offering": {
          "$ref": "#/$defs/DecisionOfferingRef"
        },
        "facts": {
          "items": {
            "$ref": "#/$defs/DecisionShownFact"
          },
          "type": "array"
        },
        "contributions": {
          "items": {
            "$ref": "#/$defs/DecisionContribution"
          },
          "type": "array"
        },
        "evidence": {
          "items": {
            "$ref": "#/$defs/DecisionDomainEvidence"
          },
          "type": "array"
        },
        "unknown_facets": {
          "items": {
            "pattern": "^[a-z][a-z0-9_-]*(\\.[a-z0-9_-]+)*$",
            "type": "string"
          },
          "type": "array"
        },
        "hardware_estimates": {
          "items": {
            "$ref": "#/$defs/DecisionHardwareEstimate"
          },
          "type": "array"
        }
      },
      "required": [
        "offering"
      ],
      "type": "object"
    },
    "DecisionCitationSource": {
      "additionalProperties": false,
      "properties": {
        "source_id": {
          "type": "string"
        },
        "url": {
          "pattern": "^https?://\\S+$",
          "type": "string"
        },
        "snapshot_ref": {
          "pattern": "^sha256:[0-9a-f]{64}$",
          "type": "string"
        },
        "retrieved_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "resolved_urls": {
          "items": {
            "pattern": "^https?://\\S+$",
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "source_id",
        "url",
        "snapshot_ref"
      ],
      "type": "object"
    },
    "DecisionCitedSource": {
      "additionalProperties": false,
      "description": "One registered source, listed once per decision. Added in 1.4.",
      "properties": {
        "id": {
          "type": "string"
        },
        "url": {
          "pattern": "^https?://\\S+$",
          "type": "string"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "date": {
          "anyOf": [
            {
              "format": "date",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "id",
        "url"
      ],
      "type": "object"
    },
    "DecisionConstraintCost": {
      "additionalProperties": false,
      "properties": {
        "units": {
          "additionalProperties": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": "object"
        },
        "records": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "condition": {
          "type": "string"
        },
        "admits": {
          "minimum": 0,
          "type": "integer"
        },
        "gain": {
          "patternProperties": {
            "^-?[a-z][a-z0-9_-]*(\\.[a-z0-9_-]+)*$": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "refinement_gains": {
          "items": {
            "$ref": "#/$defs/DecisionRefinementGain"
          },
          "type": "array"
        }
      },
      "required": [
        "condition",
        "admits"
      ],
      "type": "object"
    },
    "DecisionContribution": {
      "additionalProperties": false,
      "properties": {
        "raw_value": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "unit": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "records": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "dimension": {
          "pattern": "^-?[a-z][a-z0-9_-]*(\\.[a-z0-9_-]+)*$",
          "type": "string"
        },
        "weight": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "value": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "normalisation": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "evidence": {
          "items": {
            "$ref": "#/$defs/DecisionEvidenceItem"
          },
          "type": "array"
        },
        "formula": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "preferred_value": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "integer"
            },
            {
              "type": "number"
            },
            {
              "format": "date",
              "type": "string"
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "preference_status": {
          "anyOf": [
            {
              "enum": [
                "satisfied",
                "not_satisfied",
                "unknown"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "refinement": {
          "anyOf": [
            {
              "pattern": "^[a-z][a-z0-9_-]*(\\.[a-z0-9_-]+)*$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "dimension"
      ],
      "type": "object"
    },
    "DecisionCoverageRefusal": {
      "additionalProperties": false,
      "description": "An unsupported requirement, with the current board's aggregate scope.",
      "properties": {
        "kind": {
          "const": "out_of_coverage",
          "default": "out_of_coverage",
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "url": {
          "const": "https://modelspec.dev/api/coverage.json",
          "default": "https://modelspec.dev/api/coverage.json",
          "type": "string"
        },
        "snapshot": {
          "pattern": "^snap_[A-Za-z0-9:._-]+$",
          "type": "string"
        },
        "as_of": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "classes": {
          "items": {
            "$ref": "#/$defs/DecisionCoveredClass"
          },
          "type": "array"
        },
        "domains": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "requested_classes": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "requested_domains": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "message",
        "snapshot",
        "as_of",
        "classes",
        "domains"
      ],
      "type": "object"
    },
    "DecisionCoveredClass": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        },
        "models": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "id",
        "models"
      ],
      "type": "object"
    },
    "DecisionDimensionEstimate": {
      "additionalProperties": false,
      "description": "A band entry's estimate on one weighted capability. Added in 2.7 (MODEL-206).",
      "properties": {
        "dimension": {
          "pattern": "^-?[a-z][a-z0-9_-]*(\\.[a-z0-9_-]+)*(/[a-z][a-z0-9_]*)?$",
          "type": "string"
        },
        "value": {
          "type": "number"
        },
        "interval": {
          "maxItems": 2,
          "minItems": 2,
          "prefixItems": [
            {
              "type": "number"
            },
            {
              "type": "number"
            }
          ],
          "type": "array"
        },
        "benchmarks": {
          "minimum": 0,
          "type": "integer"
        },
        "direct_benchmarks": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "dimension",
        "value",
        "interval",
        "benchmarks",
        "direct_benchmarks"
      ],
      "type": "object"
    },
    "DecisionDomainEvidence": {
      "additionalProperties": false,
      "properties": {
        "domain": {
          "pattern": "^[a-z][a-z0-9_-]*(\\.[a-z0-9_-]+)*$",
          "type": "string"
        },
        "items": {
          "items": {
            "$ref": "#/$defs/DecisionEvidenceItem"
          },
          "type": "array"
        }
      },
      "required": [
        "domain",
        "items"
      ],
      "type": "object"
    },
    "DecisionEliminated": {
      "additionalProperties": false,
      "properties": {
        "funnel": {
          "items": {
            "$ref": "#/$defs/DecisionFunnelStep"
          },
          "type": "array"
        },
        "models": {
          "items": {
            "$ref": "#/$defs/DecisionModelElimination"
          },
          "type": "array"
        },
        "model_groups": {
          "items": {
            "$ref": "#/$defs/DecisionModelEliminationGroup"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "DecisionEstateGap": {
      "additionalProperties": false,
      "description": "Why the two answers differ, or that they do not.",
      "properties": {
        "same_answer": {
          "type": "boolean"
        },
        "unreachable_models": {
          "items": {
            "pattern": "^[a-z0-9][a-z0-9._-]*/[a-z0-9][a-z0-9._-]*$",
            "type": "string"
          },
          "type": "array"
        },
        "summary": {
          "type": "string"
        }
      },
      "required": [
        "same_answer",
        "summary"
      ],
      "type": "object"
    },
    "DecisionEstateHold": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "enum": [
            "provider",
            "plan",
            "device"
          ],
          "type": "string"
        },
        "id": {
          "maxLength": 120,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "kind",
        "id"
      ],
      "type": "object"
    },
    "DecisionEstateMark": {
      "additionalProperties": false,
      "description": "How the estate reaches one row, and what one more task costs the caller.",
      "properties": {
        "via": {
          "$ref": "#/$defs/DecisionEstateHold"
        },
        "cost_basis": {
          "enum": [
            "list_price",
            "plan_included",
            "owned_hardware"
          ],
          "type": "string"
        },
        "marginal_cost_per_task_usd": {
          "anyOf": [
            {
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "coverage": {
          "anyOf": [
            {
              "$ref": "#/$defs/DecisionPlanCoverage"
            },
            {
              "type": "null"
            }
          ]
        },
        "availability": {
          "anyOf": [
            {
              "enum": [
                "open",
                "existing_subscribers_only",
                "retired"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "via",
        "cost_basis"
      ],
      "type": "object"
    },
    "DecisionEstateResult": {
      "additionalProperties": false,
      "properties": {
        "rank": {
          "minimum": 1,
          "type": "integer"
        },
        "offering": {
          "$ref": "#/$defs/DecisionOfferingRef"
        },
        "estate": {
          "$ref": "#/$defs/DecisionEstateMark"
        },
        "soft_penalty": {
          "default": 0.0,
          "minimum": 0,
          "type": "number"
        },
        "warnings": {
          "items": {
            "pattern": "^[a-z0-9_]+$",
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "rank",
        "offering",
        "estate"
      ],
      "type": "object"
    },
    "DecisionEstimate": {
      "additionalProperties": false,
      "properties": {
        "domain": {
          "pattern": "^[a-z][a-z0-9_-]*(\\.[a-z0-9_-]+)*$",
          "type": "string"
        },
        "value": {
          "type": "number"
        },
        "interval": {
          "maxItems": 2,
          "minItems": 2,
          "prefixItems": [
            {
              "type": "number"
            },
            {
              "type": "number"
            }
          ],
          "type": "array"
        },
        "harness": {
          "anyOf": [
            {
              "pattern": "^[a-z0-9][a-z0-9-]*@[0-9]+\\.[0-9]+$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "effort": {
          "anyOf": [
            {
              "pattern": "^[a-z0-9_-]+$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "domain",
        "value",
        "interval"
      ],
      "type": "object"
    },
    "DecisionEvidenceItem": {
      "additionalProperties": false,
      "properties": {
        "requested_domain": {
          "anyOf": [
            {
              "pattern": "^[a-z][a-z0-9_-]*(\\.[a-z0-9_-]+)*$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "record_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "benchmark": {
          "type": "string"
        },
        "version": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "sub_category": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "value": {
          "type": "number"
        },
        "unit": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "n": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "interval": {
          "anyOf": [
            {
              "maxItems": 2,
              "minItems": 2,
              "prefixItems": [
                {
                  "type": "number"
                },
                {
                  "type": "number"
                }
              ],
              "type": "array"
            },
            {
              "type": "null"
            }
          ]
        },
        "quality_flags": {
          "items": {
            "enum": [
              "deprecated",
              "contamination_warning"
            ],
            "type": "string"
          },
          "type": "array"
        },
        "measured_by": {
          "enum": [
            "benchmark_author",
            "independent",
            "provider_self_report",
            "modelspec",
            "outcome_protocol"
          ],
          "type": "string"
        },
        "effort": {
          "anyOf": [
            {
              "pattern": "^[a-z0-9_-]+$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "harness": {
          "anyOf": [
            {
              "pattern": "^[a-z0-9][a-z0-9-]*@[0-9]+\\.[0-9]+$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "harness_unregistered": {
          "default": false,
          "type": "boolean"
        },
        "date": {
          "format": "date",
          "type": "string"
        },
        "date_type": {
          "enum": [
            "observed",
            "published"
          ],
          "type": "string"
        },
        "source": {
          "pattern": "^https?://\\S+$",
          "type": "string"
        },
        "source_snapshot": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "directness": {
          "enum": [
            "direct",
            "proxy"
          ],
          "type": "string"
        },
        "loading": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "estimate_weight": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "recency_weight": {
          "anyOf": [
            {
              "maximum": 1,
              "minimum": 0,
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "citation": {
          "anyOf": [
            {
              "$ref": "#/$defs/DecisionFactCitation"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "benchmark",
        "value",
        "measured_by",
        "date",
        "date_type",
        "source",
        "directness"
      ],
      "type": "object"
    },
    "DecisionFactCitation": {
      "additionalProperties": false,
      "properties": {
        "status": {
          "const": "cited",
          "type": "string"
        },
        "sources": {
          "items": {
            "$ref": "#/$defs/DecisionCitationSource"
          },
          "minItems": 1,
          "type": "array"
        }
      },
      "required": [
        "status",
        "sources"
      ],
      "type": "object"
    },
    "DecisionFactInterval": {
      "additionalProperties": false,
      "description": "An estimate's scenario bounds in the fact's unit, not a confidence interval.",
      "properties": {
        "low": {
          "minimum": 0,
          "type": "number"
        },
        "high": {
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "low",
        "high"
      ],
      "type": "

# --- truncated at 32 KB (73 KB total) ---
# Full source: https://artifacts.apis.io/modelspec-dev/json-schema/modelspec-dev-decision-response-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/modelspec-dev-decision-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.