Moneyhub · Schema
SpendingGoal
PaymentsUnited KingdomOpen BankingOpen FinanceAccount-to-AccountPayment InitiationData AggregationAISPPISPFintech
Properties
| Name | Type | Description |
|---|---|---|
| categoryId | string | |
| dateCreated | string | |
| periodType | string | |
| periodStart | string | |
| id | string | The unique id of the spending goal |
| amount | object | |
| spending | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/moneyhub/main/json-schema/moneyhub-spending-goal-schema.json",
"title": "SpendingGoal",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/moneyhub-spending-goals-api-openapi.yml#/components/schemas/SpendingGoal",
"additionalProperties": false,
"type": "object",
"properties": {
"categoryId": {
"type": "string",
"pattern": "^(std|cus):(\\w|-)+$"
},
"dateCreated": {
"format": "date-time",
"type": "string"
},
"periodType": {
"type": "string",
"enum": [
"monthly",
"annual"
]
},
"periodStart": {
"type": "string",
"pattern": "^(0?[1-9]|[12][0-9]|3[01])(-(0?[1-9]|1[012]))?$"
},
"id": {
"description": "The unique id of the spending goal",
"type": "string"
},
"amount": {
"properties": {
"value": {
"description": "The value of the amount in minor units of the currency, eg. pennies for GBP.",
"type": "integer",
"minimum": 0
},
"majorUnits": {
"description": "The major units of the value, based on the values currency, eg. pounds for GBP.",
"type": "integer"
},
"minorUnits": {
"description": "The minor units of the value, based on the values currency, eg. pennies for GBP.",
"type": "integer"
},
"currency": {
"description": "The currency of the amount.",
"type": "string"
}
},
"required": [
"value",
"currency"
],
"type": "object"
},
"spending": {
"items": {
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"spent": {
"description": "The spending analysis amount of the specified month expressed in minor units of the currency.",
"type": "integer"
}
},
"required": [
"date",
"spent"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"dateCreated",
"categoryId",
"amount",
"periodStart",
"periodType",
"spending"
]
}
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/moneyhub-spending-goal"
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.