Fill
What the pharmacy dispenses for one price. A quantity counts `unit`, not fills, and is a whole number of fills: for a fill of 30 tablets, quantity 60 is two fills and costs twice the price. For a vial product, one fill is one vial and quantity counts vials.
Properties
| Name | Type | Description |
|---|---|---|
| amount | integer | How much one fill holds, in `unit`. |
| container | object | What holds one fill, such as `vial`. Null when the pharmacy does not say. |
| ingredients | array | Each active ingredient's total in one fill: a 2 mL vial of 30 mg/mL is 60 mg. |
| unit | string | The unit of `amount`, the same as `quantityUnit`: `vial` for a vial product. |
| volume | object | What one vial holds, such as 2 mL. Null for a product that is not a vial. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/affinityrx-com/json-schema/affinityrx-com-fill-schema.json",
"title": "Fill",
"description": "What the pharmacy dispenses for one price. A quantity counts `unit`, not fills, and is a whole number of fills: for a fill of 30 tablets, quantity 60 is two fills and costs twice the price. For a vial product, one fill is one vial and quantity counts vials.",
"x-generated": "2026-11-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/affinityrx-com-openapi.json#/components/schemas/Fill",
"type": "object",
"properties": {
"amount": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"description": "How much one fill holds, in `unit`."
},
"container": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "What holds one fill, such as `vial`. Null when the pharmacy does not say."
},
"ingredients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "The amount in the specified unit."
},
"name": {
"type": "string",
"description": "The name."
},
"unit": {
"type": "string",
"description": "The unit used to measure the amount."
}
},
"required": [
"amount",
"name",
"unit"
],
"additionalProperties": {
"description": "A field that this API version can add. Ignore fields that you do not know."
}
},
"description": "Each active ingredient's total in one fill: a 2 mL vial of 30 mg/mL is 60 mg."
},
"unit": {
"type": "string",
"description": "The unit of `amount`, the same as `quantityUnit`: `vial` for a vial product."
},
"volume": {
"anyOf": [
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "The amount in the specified unit."
},
"unit": {
"type": "string",
"description": "The unit used to measure the amount."
}
},
"required": [
"amount",
"unit"
],
"additionalProperties": {
"description": "A field that this API version can add. Ignore fields that you do not know."
}
},
{
"type": "null"
}
],
"description": "What one vial holds, such as 2 mL. Null for a product that is not a vial."
}
},
"required": [
"amount",
"container",
"ingredients",
"unit",
"volume"
],
"additionalProperties": {
"description": "A field that this API version can add. Ignore fields that you do not know."
}
}
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
curl "https://apis.io/api/v1/json-schemas/affinityrx-com-fill"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.