Patch · Schema
Patch Order
A carbon credit or removal order placed through the Patch API.
ClimateCarbon CreditsCarbon RemovalOffsetsAPI-FirstEmbedded ClimateMarketplaceSustainabilityOpenAPISDK
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| created_at | string | |
| production | boolean | |
| state | string | |
| amount | integer | Total mass in grams. |
| unit | string | |
| price | integer | Subtotal in minor currency units. |
| patch_fee | integer | |
| currency | string | |
| registry_url | stringnull | |
| metadata | object | |
| issued_to | object | |
| line_items | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/patch-io/main/json-schema/patch-io-order-schema.json",
"title": "Patch Order",
"description": "A carbon credit or removal order placed through the Patch API.",
"type": "object",
"required": ["id", "state"],
"properties": {
"id": { "type": "string" },
"created_at": { "type": "string", "format": "date-time" },
"production": { "type": "boolean" },
"state": {
"type": "string",
"enum": ["draft", "placed", "processing", "complete", "cancelled"]
},
"amount": { "type": "integer", "description": "Total mass in grams." },
"unit": { "type": "string" },
"price": { "type": "integer", "description": "Subtotal in minor currency units." },
"patch_fee": { "type": "integer" },
"currency": { "type": "string" },
"registry_url": { "type": ["string", "null"], "format": "uri" },
"metadata": { "type": "object", "additionalProperties": true },
"issued_to": {
"type": "object",
"properties": {
"name": { "type": "string" },
"email": { "type": "string", "format": "email" }
}
},
"line_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "string" },
"vintage_year": { "type": ["integer", "null"] },
"amount": { "type": "integer" },
"unit": { "type": "string" },
"price": { "type": "integer" },
"currency": { "type": "string" },
"project": {
"type": "object",
"properties": {
"id": { "type": "string" },
"name": { "type": "string" }
}
}
}
}
}
}
}
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/patch-io-order"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.