The Ultimate Drug
Schema Generator
Meet the structured-data bar for pharmaceutical content. Drug schema communicates dosage, interactions, and classification for health publishers and pharmacy sites — often a prerequisite for medical rich results.
Magic Build
Paste your URL below and our AI will automatically fill the Drug fields for you.
Configuration
Live GeneratorWhy use Drug?
Meet the structured-data bar for pharmaceutical content. Drug schema communicates dosage, interactions, and classification for health publishers and pharmacy sites — often a prerequisite for medical rich results.This type is officially supported by major search engines for enhancing search listing appearance.
Output Panel
Want to automate this?
Connect your site to SchemaGen and our AI will automatically extract and deploy schemas for you. No manual coding required.
Launch AI GeneratorWhat is Drug Schema?
Meet the structured-data bar for pharmaceutical content. Drug schema communicates dosage, interactions, and classification for health publishers and pharmacy sites — often a prerequisite for medical rich results.
Google uses Drug structured data to understand the content and context of your pages. When correctly implemented, this schema can unlock rich results in Google Search — enhancing your listing with additional information that dramatically improves visibility and click-through rates.
Why Add Drug Structured Data?
Appear in Rich Results
Structured data helps Google show enhanced results for your pages in search — including stars, prices, FAQs, and more.
Boost Click-Through Rate
Rich snippets can increase CTR by up to 30% compared to plain search results — more clicks with the same ranking.
Feed AI Search Engines
AI answer engines like Perplexity and Google SGE use structured data to verify and cite facts from your content.
How to Implement Drug JSON-LD
Generate
Use the form above to fill in your details and generate valid Drug JSON-LD markup in seconds.
Copy
Copy the generated JSON-LD output code with one click — it's already formatted and ready to deploy.
Deploy
Paste the code into your <head> tag, or use SchemaGen's SDK to deploy without touching code.
Want to skip steps 2 & 3? Connect SchemaGen's SDK to deploy directly from the dashboard.
Properties You Can Include
Drug schema supports the following schema.org properties. Required fields are the minimum Google needs to consider your markup valid; recommended fields unlock richer search result appearances.
| Property | Description | Expected Type | Status |
|---|---|---|---|
| activeIngredient | An active ingredient, typically chemical compounds and/or biologic substances. | Text | Optional |
| additionalProperty | A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\n\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism. | PropertyValue | Optional |
| additionalType | An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide. | Text, URL | Optional |
| administrationRoute | A route by which this drug may be administered, e.g. 'oral'. | Text | Optional |
| aggregateRating | The overall rating, based on a collection of reviews or ratings, of the item. | AggregateRating | Optional |
| alcoholWarning | Any precaution, guidance, contraindication, etc. related to consumption of alcohol while taking this drug. | Text | Optional |
| alternateName | An alias for the item. | Text | Optional |
| asin | An Amazon Standard Identification Number (ASIN) is a 10-character alphanumeric unique identifier assigned by Amazon.com and its partners for product identification within the Amazon organization (summary from [Wikipedia](https://en.wikipedia.org/wiki/Amazon_Standard_Identification_Number)'s article). Note also that this is a definition for how to include ASINs in Schema.org data, and not a definition of ASINs in general - see documentation from Amazon for authoritative details. ASINs are most commonly encoded as text strings, but the [asin] property supports URL/URI as potential values too. | Text, URL | Optional |
| audience | An intended audience, i.e. a group for whom something was created. | Audience | Optional |
| availableStrength | An available dosage strength for the drug. | DrugStrength | Optional |
| award | An award won by or for this item. | Text | Optional |
| awards | Awards won by or for this item. | Text | Optional |
| brand | The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person. | Brand, Organization | Optional |
| breastfeedingWarning | Any precaution, guidance, contraindication, etc. related to this drug's use by breastfeeding mothers. | Text | Optional |
| category | A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy. | CategoryCode, PhysicalActivityCategory, Text, Thing, URL | Optional |
| clincalPharmacology | Description of the absorption and elimination of drugs, including their concentration (pharmacokinetics, pK) and biological effects (pharmacodynamics, pD). | Text | Optional |
| clinicalPharmacology | Description of the absorption and elimination of drugs, including their concentration (pharmacokinetics, pK) and biological effects (pharmacodynamics, pD). | Text | Optional |
| code | A medical code for the entity, taken from a controlled vocabulary or ontology such as ICD-9, DiseasesDB, MeSH, SNOMED-CT, RxNorm, etc. | MedicalCode | Optional |
| color | The color of the product. | Text | Optional |
| colorSwatch | A color swatch image, visualizing the color of a Product. Should match the textual description specified in the color property. This can be a URL or a fully described ImageObject. | ImageObject, URL | Optional |
Example Drug JSON-LD
Here's what valid Drug structured data looks like with sample values filled in. Use the generator above to replace these with your own data.
{
"@context": "https://schema.org",
"@type": "Drug",
"name": "Example Drug",
"image": "https://example.com/images/example.jpg",
"url": "https://example.com/page",
"activeIngredient": "Example activeIngredient",
"additionalProperty": {
"@type": "PropertyValue",
"name": "Example PropertyValue",
"image": "https://example.com/images/example.jpg",
"url": "https://example.com/page"
},
"additionalType": "Example additionalType",
"administrationRoute": "Example administrationRoute",
"aggregateRating": {
"@type": "AggregateRating",
"name": "Example AggregateRating",
"image": "https://example.com/images/example.jpg",
"url": "https://example.com/page"
}
}Validate Your Drug Schema
Once deployed, validate your schema is working correctly with our free audit tool. Paste your URL and we'll check for errors, missing properties, and Google Rich Result eligibility.
Check your Drug schema for errors and Rich Result eligibility