FOLIO · Schema

ChargeResultsArray

CompanyLibraryLibrary Services PlatformOpen SourceMicroservicesEducation
View JSON Schema on GitHub

JSON Schema

folio-charge-results-array-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/folio/json-schema/folio-charge-results-array-schema.json",
  "title": "ChargeResultsArray",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/folio-charges-api-openapi.yml#/components/schemas/ChargeResultsArray",
  "type": "array",
  "items": {
    "$ref": "#/$defs/Charge"
  },
  "$defs": {
    "Charge": {
      "type": "object",
      "required": [
        "id",
        "amount"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "dateCreated": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "lastUpdated": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "owner": {
          "type": "string",
          "format": "uuid",
          "writeOnly": true
        },
        "amount": {
          "$ref": "#/$defs/MonetaryValue"
        },
        "exchangeRate": {
          "$ref": "#/$defs/ExchangeRate"
        },
        "description": {
          "type": "string"
        },
        "paymentPeriod": {
          "type": "string",
          "pattern": "^([0-9]{4})?$"
        },
        "category": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "#/$defs/Refdata"
            }
          ]
        },
        "discount": {
          "type": "number",
          "default": 0
        },
        "discountType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "#/$defs/Refdata"
            }
          ]
        },
        "discountNote": {
          "type": "string"
        },
        "tax": {
          "type": "number"
        },
        "chargeStatus": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "#/$defs/Refdata"
            }
          ]
        },
        "invoiceReference": {
          "type": "string",
          "format": "uuid"
        },
        "invoiceLineItemReference": {
          "type": "string",
          "format": "uuid"
        },
        "payers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Payer"
          }
        },
        "estimatedInvoicePrice": {
          "readOnly": true,
          "$ref": "#/$defs/MonetaryValue"
        },
        "estimatedPrice": {
          "readOnly": true,
          "$ref": "#/$defs/MonetaryValue"
        }
      }
    },
    "ExchangeRate": {
      "type": "object",
      "required": [
        "id",
        "fromCurrency",
        "toCurrency",
        "coefficient"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "fromCurrency": {
          "type": "string"
        },
        "toCurrency": {
          "type": "string"
        },
        "coefficient": {
          "type": "number"
        }
      }
    },
    "MonetaryValue": {
      "type": "object",
      "required": [
        "id",
        "baseCurrency",
        "value"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "baseCurrency": {
          "type": "string"
        },
        "value": {
          "type": "number",
          "multipleOf": 0.01,
          "description": "Monetary amount, fixed to 2 decimal places"
        }
      }
    },
    "Payer": {
      "type": "object",
      "required": [
        "id",
        "payer",
        "payerAmount"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "payer": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "#/$defs/Refdata"
            }
          ]
        },
        "payerAmount": {
          "type": "number"
        },
        "payerNote": {
          "type": "string"
        }
      }
    },
    "Refdata": {
      "type": "object",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "readOnly": true
        },
        "label": {
          "type": "string"
        },
        "value": {
          "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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/folio-charge-results-array"
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.