Redeal · Schema
DealView
The deal view. NEVER contains revealed inputs.
Fairness ComputationSealed‑Bid AuctionShapley ValueVerification
Properties
| Name | Type | Description |
|---|---|---|
| deal_id | string | |
| algorithm | string | |
| algorithm_params | object | |
| mode | string | |
| retention | string | |
| state | string | |
| initiator | integer | |
| parties | array | |
| commit_deadline | integer | |
| reveal_deadline | integer | |
| created_at | integer | |
| commits_closed_at | integernull | |
| reveals_closed_at | integernull | |
| computed_at | integernull | |
| result | objectnull | |
| void_flakers | arraynull | |
| certificate_id | stringnull |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/redeal-dev/json-schema/redeal-dev-deal-view-schema.json",
"title": "DealView",
"description": "The deal view. NEVER contains revealed inputs.",
"x-generated": "2026-11-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/redeal-dev-openapi.json#/components/schemas/DealView",
"type": "object",
"properties": {
"deal_id": {
"type": "string"
},
"algorithm": {
"type": "string"
},
"algorithm_params": {
"type": "object"
},
"mode": {
"type": "string",
"enum": [
"sealed",
"open"
]
},
"retention": {
"type": "string",
"enum": [
"standard",
"purge"
]
},
"state": {
"type": "string",
"enum": [
"OPEN",
"COMMITTING",
"REVEALING",
"COMPUTED",
"CERTIFIED",
"VOID",
"EXPIRED",
"CANCELLED"
]
},
"initiator": {
"type": "integer"
},
"parties": {
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {
"type": "integer"
},
"label": {
"type": "string"
},
"committed": {
"type": "boolean"
},
"commitment": {
"type": [
"string",
"null"
]
},
"revealed": {
"type": "boolean"
}
}
}
},
"commit_deadline": {
"type": "integer"
},
"reveal_deadline": {
"type": "integer"
},
"created_at": {
"type": "integer"
},
"commits_closed_at": {
"type": [
"integer",
"null"
]
},
"reveals_closed_at": {
"type": [
"integer",
"null"
]
},
"computed_at": {
"type": [
"integer",
"null"
]
},
"result": {
"type": [
"object",
"null"
]
},
"void_flakers": {
"type": [
"array",
"null"
],
"items": {
"type": "integer"
}
},
"certificate_id": {
"type": [
"string",
"null"
]
}
}
}
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/redeal-dev-deal-view"
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.