Properties
| Name | Type | Description |
|---|---|---|
| input | object | |
| docs | string | |
| chiSquare | object | |
| chiSquareYates | object | |
| gTest | object | |
| fishersExact | object | |
| fishersExactUnavailableReason | stringnull | |
| cramersV | object | |
| phi | numbernull | |
| contingencyCoefficient | number | |
| lambda | object | |
| gamma | number | |
| kendallTau | object | |
| somersD | object | |
| theilsU | object | |
| expected | object | |
| totals | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/crosstabs-com/json-schema/crosstabs-com-contingency-response-schema.json",
"title": "ContingencyResponse",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/crosstabs-com-openapi.json#/components/schemas/ContingencyResponse",
"type": "object",
"properties": {
"input": {
"$ref": "#/$defs/Input"
},
"docs": {
"type": "string",
"const": "https://www.crosstabs.com/developers"
},
"chiSquare": {
"type": "object",
"properties": {
"chiSquare": {
"type": "number"
},
"degreesOfFreedom": {
"type": "integer"
},
"pValue": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"chiSquare",
"degreesOfFreedom",
"pValue"
]
},
"chiSquareYates": {
"anyOf": [
{
"type": "object",
"properties": {
"chiSquare": {
"type": "number"
},
"degreesOfFreedom": {
"type": "integer"
},
"pValue": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"chiSquare",
"degreesOfFreedom",
"pValue"
]
},
{
"type": "null"
}
]
},
"gTest": {
"type": "object",
"properties": {
"gStatistic": {
"type": "number"
},
"degreesOfFreedom": {
"type": "integer"
},
"pValue": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"gStatistic",
"degreesOfFreedom",
"pValue"
]
},
"fishersExact": {
"anyOf": [
{
"type": "object",
"properties": {
"pValue": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"oddsRatio": {
"type": [
"number",
"null"
]
},
"oddsRatioState": {
"type": "string",
"enum": [
"finite",
"positive_infinity"
]
},
"oddsRatioCI": {
"type": "array",
"items": {
"type": [
"number",
"null"
]
},
"minItems": 2,
"maxItems": 2
},
"oddsRatioCIStates": {
"type": "array",
"items": {
"type": "string",
"enum": [
"finite",
"positive_infinity"
]
},
"minItems": 2,
"maxItems": 2
}
},
"required": [
"pValue",
"oddsRatio",
"oddsRatioState",
"oddsRatioCI",
"oddsRatioCIStates"
]
},
{
"type": "null"
}
]
},
"fishersExactUnavailableReason": {
"type": [
"string",
"null"
],
"enum": [
null,
"not_2x2",
"invalid_counts",
"unsafe_integer_counts",
"non_positive_margins",
"workload_limit",
"disabled_by_caller"
]
},
"cramersV": {
"type": "object",
"properties": {
"value": {
"type": "number"
},
"label": {
"type": "string",
"enum": [
"negligible",
"small",
"medium",
"large"
]
}
},
"required": [
"value",
"label"
]
},
"phi": {
"type": [
"number",
"null"
]
},
"contingencyCoefficient": {
"type": "number"
},
"lambda": {
"type": "object",
"properties": {
"symmetric": {
"type": "number"
},
"rowDependent": {
"type": "number"
},
"colDependent": {
"type": "number"
}
},
"required": [
"symmetric",
"rowDependent",
"colDependent"
]
},
"gamma": {
"type": "number"
},
"kendallTau": {
"type": "object",
"properties": {
"tauB": {
"type": "number"
},
"tauC": {
"type": "number"
}
},
"required": [
"tauB",
"tauC"
]
},
"somersD": {
"type": "object",
"properties": {
"symmetric": {
"type": "number"
},
"rowDependent": {
"type": "number"
},
"colDependent": {
"type": "number"
}
},
"required": [
"symmetric",
"rowDependent",
"colDependent"
]
},
"theilsU": {
"type": "object",
"properties": {
"symmetric": {
"type": "number"
},
"rowGivenCol": {
"type": "number"
},
"colGivenRow": {
"type": "number"
}
},
"required": [
"symmetric",
"rowGivenCol",
"colGivenRow"
]
},
"expected": {
"type": "object",
"properties": {
"counts": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
},
"min": {
"type": "number"
},
"cellsBelow5": {
"type": "integer"
}
},
"required": [
"counts",
"min",
"cellsBelow5"
]
},
"totals": {
"type": "object",
"properties": {
"row": {
"type": "array",
"items": {
"type": "number"
}
},
"col": {
"type": "array",
"items": {
"type": "number"
}
}
},
"required": [
"row",
"col"
]
}
},
"required": [
"input",
"docs",
"chiSquare",
"chiSquareYates",
"gTest",
"fishersExact",
"fishersExactUnavailableReason",
"cramersV",
"phi",
"contingencyCoefficient",
"lambda",
"gamma",
"kendallTau",
"somersD",
"theilsU",
"expected",
"totals"
],
"$defs": {
"FrequencyMatrix": {
"type": "array",
"minItems": 2,
"maxItems": 12,
"items": {
"type": "array",
"minItems": 2,
"maxItems": 12,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000000
}
},
"description": "Additional runtime constraints: rectangular rows; grand total ≤ 1000000000000; every row and column sum must be positive. Ordinary JSON Schema cannot enforce these cross-cell sums.",
"x-grand-total-maximum": 1000000000000
},
"Input": {
"type": "object",
"properties": {
"table": {
"$ref": "#/$defs/FrequencyMatrix"
},
"n": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000000
},
"rows": {
"type": "integer",
"minimum": 2,
"maximum": 12
},
"cols": {
"type": "integer",
"minimum": 2,
"maximum": 12
}
},
"required": [
"table",
"n",
"rows",
"cols"
]
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/crosstabs-com-contingency-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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.