Properties
| Name | Type | Description |
|---|---|---|
| label | string | |
| amount | number | |
| currency | string | |
| period | string | |
| incurredOn | string | Required when `period` is `once`, and refused otherwise. A purchase is placed by its date and by nothing else; defaulting it to today would put it in the wrong month, and the month is the whole point. |
| scope | string | |
| projectId | string | Required when `scope` is `project`. |
| sharedProjects | array | Required when `scope` is `shared` — the bill is split equally across them. A one-off cannot be shared. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/devmargin-app/json-schema/devmargin-app-new-cost-schema.json",
"title": "NewCost",
"x-generated": "2026-11-05",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_original/devmargin-app-openapi-openapi.yml#/components/schemas/NewCost",
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1
},
"amount": {
"type": "number",
"minimum": 0
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"period": {
"type": "string",
"enum": [
"monthly",
"yearly",
"once"
],
"default": "monthly"
},
"incurredOn": {
"type": "string",
"format": "date",
"description": "Required when `period` is `once`, and refused otherwise. A purchase\nis placed by its date and by nothing else; defaulting it to today\nwould put it in the wrong month, and the month is the whole point.\n"
},
"scope": {
"type": "string",
"enum": [
"project",
"shared"
],
"default": "project"
},
"projectId": {
"type": "string",
"format": "uuid",
"description": "Required when `scope` is `project`."
},
"sharedProjects": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"description": "Required when `scope` is `shared` — the bill is split equally\nacross them. A one-off cannot be shared.\n"
}
},
"required": [
"label",
"amount",
"currency"
]
}
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/devmargin-app-new-cost"
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.