Pillwise · JSON-LD Context

Pillwise Dev Context

JSON-LD context defining the semantic vocabulary for Pillwise Dev from Pillwise.

16 Classes 71 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
pillwise: https://pillwise.dev/schema#

Classes

CabinetAffectedEvent RecallIssuedEvent CabinetItemWrite CabinetAnswers Freshness Recall Shortage ChangeSet SearchResponse SearchHit FormChoice Choice StrengthChoice Presentation MemberView FormOptions

Properties

Property Type Container
type string
tenant_id string
member_id string
item_id string
codes reference
reason string
recall_id string
graph_version string
observed_at dateTime
classification string
recall_number string
drug_ids list
answers
resolved
confirmed_name string
form string
strength string
frequency string
instructions string
status string
class string
as_of dateTime
jurisdiction string
id string
recalling_firm string
report_date string
initiation_date string
product_description string
ndc11 list
product_ndc list
update_type string
generic_name string
presentation string
application_numbers list
conflicts list
since string
to string
added list
removed list
changed list
hits list
coverage string
freshness string
display_name string
subtitle string
matched_term string
match_kind string
pick_level string
presentation_count integer
tty string
rxcui string
form_label string
strength_label string
route string
cabinet_eligible boolean
form_options reference
value string
label string
group string
dose_unit string
forms list
form_group string
route_label string
brand string
generic string
dose_form string
volume_ml decimal
labels_version integer
strengths list
routes list
packages list

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://pillwise.dev/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "pillwise": "https://pillwise.dev/schema#",
    "CabinetAffectedEvent": "pillwise:CabinetAffectedEvent",
    "type": {
      "@id": "pillwise:type",
      "@type": "xsd:string"
    },
    "tenant_id": {
      "@id": "pillwise:tenant_id",
      "@type": "xsd:string"
    },
    "member_id": {
      "@id": "pillwise:member_id",
      "@type": "xsd:string"
    },
    "item_id": {
      "@id": "pillwise:item_id",
      "@type": "xsd:string"
    },
    "codes": {
      "@id": "pillwise:codes",
      "@type": "@id"
    },
    "reason": {
      "@id": "pillwise:reason",
      "@type": "xsd:string"
    },
    "recall_id": {
      "@id": "pillwise:recall_id",
      "@type": "xsd:string"
    },
    "graph_version": {
      "@id": "pillwise:graph_version",
      "@type": "xsd:string"
    },
    "observed_at": {
      "@id": "pillwise:observed_at",
      "@type": "xsd:dateTime"
    },
    "RecallIssuedEvent": "pillwise:RecallIssuedEvent",
    "classification": {
      "@id": "pillwise:classification",
      "@type": "xsd:string"
    },
    "recall_number": {
      "@id": "pillwise:recall_number",
      "@type": "xsd:string"
    },
    "drug_ids": {
      "@id": "pillwise:drug_ids",
      "@container": "@list"
    },
    "CabinetItemWrite": "pillwise:CabinetItemWrite",
    "answers": {
      "@id": "pillwise:answers"
    },
    "resolved": {
      "@id": "pillwise:resolved"
    },
    "CabinetAnswers": "pillwise:CabinetAnswers",
    "confirmed_name": {
      "@id": "pillwise:confirmed_name",
      "@type": "xsd:string"
    },
    "form": {
      "@id": "pillwise:form",
      "@type": "xsd:string"
    },
    "strength": {
      "@id": "pillwise:strength",
      "@type": "xsd:string"
    },
    "frequency": {
      "@id": "pillwise:frequency",
      "@type": "xsd:string"
    },
    "instructions": {
      "@id": "pillwise:instructions",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "pillwise:status",
      "@type": "xsd:string"
    },
    "Freshness": "pillwise:Freshness",
    "class": {
      "@id": "pillwise:class",
      "@type": "xsd:string"
    },
    "as_of": {
      "@id": "pillwise:as_of",
      "@type": "xsd:dateTime"
    },
    "jurisdiction": {
      "@id": "pillwise:jurisdiction",
      "@type": "xsd:string"
    },
    "Recall": "pillwise:Recall",
    "id": {
      "@id": "pillwise:id",
      "@type": "xsd:string"
    },
    "recalling_firm": {
      "@id": "pillwise:recalling_firm",
      "@type": "xsd:string"
    },
    "report_date": {
      "@id": "pillwise:report_date",
      "@type": "xsd:string"
    },
    "initiation_date": {
      "@id": "pillwise:initiation_date",
      "@type": "xsd:string"
    },
    "product_description": {
      "@id": "pillwise:product_description",
      "@type": "xsd:string"
    },
    "ndc11": {
      "@id": "pillwise:ndc11",
      "@container": "@list"
    },
    "product_ndc": {
      "@id": "pillwise:product_ndc",
      "@container": "@list"
    },
    "Shortage": "pillwise:Shortage",
    "update_type": {
      "@id": "pillwise:update_type",
      "@type": "xsd:string"
    },
    "generic_name": {
      "@id": "pillwise:generic_name",
      "@type": "xsd:string"
    },
    "presentation": {
      "@id": "pillwise:presentation",
      "@type": "xsd:string"
    },
    "application_numbers": {
      "@id": "pillwise:application_numbers",
      "@container": "@list"
    },
    "conflicts": {
      "@id": "pillwise:conflicts",
      "@container": "@list"
    },
    "ChangeSet": "pillwise:ChangeSet",
    "since": {
      "@id": "pillwise:since",
      "@type": "xsd:string"
    },
    "to": {
      "@id": "pillwise:to",
      "@type": "xsd:string"
    },
    "added": {
      "@id": "pillwise:added",
      "@container": "@list"
    },
    "removed": {
      "@id": "pillwise:removed",
      "@container": "@list"
    },
    "changed": {
      "@id": "pillwise:changed",
      "@container": "@list"
    },
    "SearchResponse": "pillwise:SearchResponse",
    "hits": {
      "@id": "pillwise:hits",
      "@container": "@list"
    },
    "coverage": {
      "@id": "pillwise:coverage",
      "@type": "xsd:string"
    },
    "freshness": {
      "@id": "pillwise:freshness",
      "@type": "xsd:string"
    },
    "SearchHit": "pillwise:SearchHit",
    "display_name": {
      "@id": "pillwise:display_name",
      "@type": "xsd:string"
    },
    "subtitle": {
      "@id": "pillwise:subtitle",
      "@type": "xsd:string"
    },
    "matched_term": {
      "@id": "pillwise:matched_term",
      "@type": "xsd:string"
    },
    "match_kind": {
      "@id": "pillwise:match_kind",
      "@type": "xsd:string"
    },
    "pick_level": {
      "@id": "pillwise:pick_level",
      "@type": "xsd:string"
    },
    "presentation_count": {
      "@id": "pillwise:presentation_count",
      "@type": "xsd:integer"
    },
    "tty": {
      "@id": "pillwise:tty",
      "@type": "xsd:string"
    },
    "rxcui": {
      "@id": "pillwise:rxcui",
      "@type": "xsd:string"
    },
    "form_label": {
      "@id": "pillwise:form_label",
      "@type": "xsd:string"
    },
    "strength_label": {
      "@id": "pillwise:strength_label",
      "@type": "xsd:string"
    },
    "route": {
      "@id": "pillwise:route",
      "@type": "xsd:string"
    },
    "cabinet_eligible": {
      "@id": "pillwise:cabinet_eligible",
      "@type": "xsd:boolean"
    },
    "form_options": {
      "@id": "pillwise:form_options",
      "@type": "@id"
    },
    "FormChoice": "pillwise:FormChoice",
    "value": {
      "@id": "pillwise:value",
      "@type": "xsd:string"
    },
    "label": {
      "@id": "pillwise:label",
      "@type": "xsd:string"
    },
    "group": {
      "@id": "pillwise:group",
      "@type": "xsd:string"
    },
    "dose_unit": {
      "@id": "pillwise:dose_unit",
      "@type": "xsd:string"
    },
    "Choice": "pillwise:Choice",
    "StrengthChoice": "pillwise:StrengthChoice",
    "forms": {
      "@id": "pillwise:forms",
      "@container": "@list"
    },
    "Presentation": "pillwise:Presentation",
    "form_group": {
      "@id": "pillwise:form_group",
      "@type": "xsd:string"
    },
    "route_label": {
      "@id": "pillwise:route_label",
      "@type": "xsd:string"
    },
    "brand": {
      "@id": "pillwise:brand",
      "@type": "xsd:string"
    },
    "generic": {
      "@id": "pillwise:generic",
      "@type": "xsd:string"
    },
    "MemberView": "pillwise:MemberView",
    "dose_form": {
      "@id": "pillwise:dose_form",
      "@type": "xsd:string"
    },
    "volume_ml": {
      "@id": "pillwise:volume_ml",
      "@type": "xsd:decimal"
    },
    "labels_version": {
      "@id": "pillwise:labels_version",
      "@type": "xsd:integer"
    },
    "FormOptions": "pillwise:FormOptions",
    "strengths": {
      "@id": "pillwise:strengths",
      "@container": "@list"
    },
    "routes": {
      "@id": "pillwise:routes",
      "@container": "@list"
    },
    "packages": {
      "@id": "pillwise:packages",
      "@container": "@list"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Pillwise API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Pillwise's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-21) from openapi/pillwise-dev-openapi.json.",
  "dcterms:created": "2026-11-21",
  "dcterms:source": [
    "openapi/pillwise-dev-openapi.json"
  ]
}