XooCode(){

DrugCostCategory

DrugCostCategory is a 3-value MedicalEnumeration on DrugCost.costCategory. Values: Retail, Wholesale, ReimbursementCap (maximum reimbursement set by payer).

Full example of schema.org/DrugCostCategory json-ld markup

The markup is verified as valid with Rich Results Test from Google.

schema.org/DrugCostCategory
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "DrugCost",
  "costCategory": "https://schema.org/Retail",
  "costCurrency": "USD",
  "costPerUnit": 12.50
}
</script>

Minimal valid version

The smallest markup that still produces a valid DrugCostCategory entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.

schema.org/DrugCostCategory (minimal)
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "DrugCost",
  "costCategory": "https://schema.org/Retail"
}
</script>

Google rich results this unlocks

DrugCostCategory is a structural type. It does not produce a rich result on its own.

Its value comes from combining it with a primary type whose markup earns a rich result (Article, Product, Event, and so on). DrugCostCategory becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.

Common DrugCostCategory mistakes

Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.

  1. 01

    costCategory as free text

    Wrong
    "costCategory": "retail"
    Right
    "costCategory": "https://schema.org/Retail"

    Three URI closed set.

About the example data

Classifies drug pricing in the Dunmore Archive's pharmacy-reference entries.

Comments

Loading comments...

Leave a comment