Frihet · Schema

Deposit

Business ManagementInvoicingExpense TrackingCRMSoftware-as-a-Service

Properties

Name Type Description
id string Unique identifier
createdAt string
updatedAt string
clientId string ID of the client who made the deposit
clientName string Client name (denormalized for display)
amount number Deposit amount (must be positive)
currency string Currency code (ISO 4217)
description string Description of the deposit
receivedDate string Date the deposit was received (YYYY-MM-DD)
paymentMethod string Payment method used
paymentReference string Payment reference or transaction ID
status object
appliedAmount number Total amount already applied to invoices
remainingBalance number Remaining balance available for application or refund
refundedAmount number Total amount refunded to the client
applications array List of invoice applications for this deposit
View JSON Schema on GitHub

JSON Schema

frihet-io-deposit-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frihet-io/json-schema/frihet-io-deposit-schema.json",
  "title": "Deposit",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frihet-io-deposits-api-openapi.yml#/components/schemas/Deposit",
  "allOf": [
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    {
      "$ref": "#/$defs/DepositCreate"
    },
    {
      "type": "object",
      "properties": {
        "status": {
          "$ref": "#/$defs/DepositStatus"
        },
        "appliedAmount": {
          "type": "number",
          "description": "Total amount already applied to invoices"
        },
        "remainingBalance": {
          "type": "number",
          "description": "Remaining balance available for application or refund"
        },
        "refundedAmount": {
          "type": "number",
          "description": "Total amount refunded to the client"
        },
        "applications": {
          "type": "array",
          "description": "List of invoice applications for this deposit",
          "items": {
            "type": "object",
            "properties": {
              "invoiceId": {
                "type": "string"
              },
              "invoiceNumber": {
                "type": "string"
              },
              "amount": {
                "type": "number"
              },
              "appliedAt": {
                "type": "string",
                "format": "date"
              }
            }
          }
        }
      }
    }
  ],
  "$defs": {
    "DepositCreate": {
      "type": "object",
      "required": [
        "clientId",
        "clientName",
        "amount",
        "description",
        "receivedDate"
      ],
      "properties": {
        "clientId": {
          "type": "string",
          "description": "ID of the client who made the deposit"
        },
        "clientName": {
          "type": "string",
          "description": "Client name (denormalized for display)"
        },
        "amount": {
          "type": "number",
          "description": "Deposit amount (must be positive)"
        },
        "currency": {
          "type": "string",
          "description": "Currency code (ISO 4217)",
          "default": "EUR"
        },
        "description": {
          "type": "string",
          "description": "Description of the deposit"
        },
        "receivedDate": {
          "type": "string",
          "format": "date",
          "description": "Date the deposit was received (YYYY-MM-DD)"
        },
        "paymentMethod": {
          "type": "string",
          "description": "Payment method used"
        },
        "paymentReference": {
          "type": "string",
          "description": "Payment reference or transaction ID"
        }
      }
    },
    "DepositStatus": {
      "type": "string",
      "enum": [
        "active",
        "partially_applied",
        "fully_applied",
        "refunded"
      ]
    }
  }
}

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-deposit"
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.