Frihet · Schema

BusinessContext

Comprehensive business context snapshot for AI agents

Business ManagementInvoicingExpense TrackingCRMSoftware-as-a-Service

Properties

Name Type Description
data object
meta object
View JSON Schema on GitHub

JSON Schema

frihet-io-business-context-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frihet-io/json-schema/frihet-io-business-context-schema.json",
  "title": "BusinessContext",
  "description": "Comprehensive business context snapshot for AI agents",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frihet-io-openapi.json#/components/schemas/BusinessContext",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "business": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "taxId": {
              "type": "string"
            },
            "fiscalZone": {
              "type": "string"
            },
            "currency": {
              "type": "string"
            },
            "language": {
              "type": "string"
            },
            "country": {
              "type": "string"
            }
          }
        },
        "defaults": {
          "type": "object",
          "properties": {
            "taxRate": {
              "type": "number"
            },
            "irpfRate": {
              "type": "number"
            },
            "dueDays": {
              "type": "integer"
            },
            "currency": {
              "type": "string"
            }
          }
        },
        "plan": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "invoices": {
              "type": "object",
              "properties": {
                "used": {
                  "type": "integer"
                },
                "limit": {
                  "type": "integer"
                }
              }
            },
            "expenses": {
              "type": "object",
              "properties": {
                "used": {
                  "type": "integer"
                },
                "limit": {
                  "type": "integer"
                }
              }
            },
            "aiMessages": {
              "type": "object",
              "properties": {
                "used": {
                  "type": "integer"
                },
                "limit": {
                  "type": "integer"
                }
              }
            }
          }
        },
        "series": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "prefix": {
                "type": "string"
              },
              "current": {
                "type": "integer"
              },
              "year": {
                "type": "integer"
              }
            }
          }
        },
        "recentActivity": {
          "type": "object",
          "properties": {
            "lastInvoice": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "number": {
                  "type": "string"
                },
                "date": {
                  "type": "string"
                },
                "client": {
                  "type": "string"
                }
              }
            },
            "lastExpense": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "date": {
                  "type": "string"
                },
                "vendor": {
                  "type": "string"
                },
                "amount": {
                  "type": "number"
                }
              }
            },
            "overdueCount": {
              "type": "integer"
            },
            "overdueAmount": {
              "type": "number"
            },
            "unpaidCount": {
              "type": "integer"
            }
          }
        },
        "topClients": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "totalRevenue": {
                "type": "number"
              },
              "invoiceCount": {
                "type": "integer"
              }
            }
          }
        },
        "currentMonth": {
          "type": "object",
          "properties": {
            "revenue": {
              "type": "number"
            },
            "expenses": {
              "type": "number"
            },
            "profit": {
              "type": "number"
            },
            "invoiceCount": {
              "type": "integer"
            },
            "expenseCount": {
              "type": "integer"
            }
          }
        }
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "requestId": {
          "type": "string"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/frihet-io-business-context"
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.