DrugPrescriptionStatus
DrugPrescriptionStatus is a 2-value MedicalEnumeration on Drug.prescriptionStatus. Values: PrescriptionOnly (Rx), OTC (over-the-counter).
Full example of schema.org/DrugPrescriptionStatus json-ld markup
The markup is verified as valid with Rich Results Test from Google.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Drug",
"name": "Amoxicillin",
"prescriptionStatus": "https://schema.org/PrescriptionOnly"
}
</script>Minimal valid version
The smallest markup that still produces a valid DrugPrescriptionStatus 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.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Drug",
"prescriptionStatus": "https://schema.org/PrescriptionOnly"
}
</script>Google rich results this unlocks
DrugPrescriptionStatus 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). DrugPrescriptionStatus becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.
Common DrugPrescriptionStatus 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.
- 01
Free text 'Rx'
Wrong"prescriptionStatus": "Rx"Right"prescriptionStatus": "https://schema.org/PrescriptionOnly"Two URIs only.
Schema properties in this example
About the example data
"PrescriptionOnly" on every Rx entry in the Dunmore Archive.
Comments
Loading comments...