Pillwise · Schema

CabinetItemWrite

HealthMedicationLookupHealthcare

Properties

Name Type Description
answers object
codes object
resolved object
View JSON Schema on GitHub

JSON Schema

pillwise-dev-cabinet-item-write-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pillwise-dev/json-schema/pillwise-dev-cabinet-item-write-schema.json",
  "title": "CabinetItemWrite",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pillwise-dev-openapi.json#/components/schemas/CabinetItemWrite",
  "type": "object",
  "required": [
    "answers"
  ],
  "properties": {
    "answers": {
      "type": "object",
      "required": [
        "confirmed_name"
      ],
      "properties": {
        "confirmed_name": {
          "type": "string"
        },
        "form": {
          "type": "string"
        },
        "strength": {
          "type": "string"
        },
        "strength_unit": {
          "type": "string"
        },
        "route": {
          "type": "string"
        },
        "frequency": {
          "type": "string"
        },
        "prn": {
          "type": "boolean"
        },
        "quantity": {
          "type": "string"
        },
        "days_supply": {
          "type": "integer"
        },
        "start_on": {
          "type": "string",
          "format": "date"
        },
        "end_on": {
          "type": "string",
          "format": "date"
        },
        "instructions": {
          "type": "string"
        },
        "entered_by": {
          "type": "string",
          "enum": [
            "self",
            "caregiver",
            "clinician",
            "claim",
            "barcode"
          ]
        }
      }
    },
    "codes": {
      "type": "object",
      "properties": {
        "rxcui": {
          "type": "string"
        },
        "rxcui_ingredient": {
          "type": "string"
        },
        "ndc11": {
          "type": "string"
        },
        "ndc_basis": {
          "type": "string",
          "enum": [
            "asserted",
            "representative"
          ]
        },
        "ndc_candidates": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ndc11": {
                "type": "string"
              },
              "ndc_display": {
                "type": "string"
              },
              "description": {
                "type": "string"
              }
            }
          }
        },
        "ndc_fda": {
          "type": "string"
        },
        "ndc_display": {
          "type": "string"
        },
        "unii": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "spl_set_id": {
          "type": "string"
        },
        "application_number": {
          "type": "string"
        },
        "te_code": {
          "type": "string"
        },
        "pillwise_id": {
          "type": "string"
        }
      }
    },
    "resolved": {
      "type": "object",
      "properties": {
        "pick_level": {
          "type": "string"
        },
        "search_hit_id": {
          "type": "string"
        },
        "confidence": {
          "type": "string"
        },
        "jurisdiction": {
          "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/pillwise-dev-cabinet-item-write"
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. 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.