InfectiousAgentClass
InfectiousAgentClass is a 6-value MedicalEnumeration used on InfectiousDisease.infectiousAgentClass. Values: Bacteria, Virus, Fungus, Protozoa, MulticellularParasite, Prion.
Full example of schema.org/InfectiousAgentClass 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": "InfectiousDisease",
"name": "Pulmonary tuberculosis",
"infectiousAgent": "Mycobacterium tuberculosis",
"infectiousAgentClass": "https://schema.org/Bacteria"
}
</script>Minimal valid version
The smallest markup that still produces a valid InfectiousAgentClass 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": "InfectiousDisease",
"infectiousAgentClass": "https://schema.org/Bacteria"
}
</script>Google rich results this unlocks
InfectiousAgentClass 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). InfectiousAgentClass becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.
Common InfectiousAgentClass 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 agent class
Wrong"infectiousAgentClass": "bacterial"Right"infectiousAgentClass": "https://schema.org/Bacteria"Only the six closed-set URIs count.
Schema properties in this example
Also mentioned in 1 other example
InfectiousAgentClass also appears in InfectiousDisease. See the full InfectiousAgentClass schema page for every reference.
About the example data
"Bacteria" — the classification on the tuberculosis entry in the Dunmore Archive.
Comments
Loading comments...