InfectiousDisease
InfectiousDisease is a MedicalCondition subtype for any clinically evident human disease resulting from pathogenic microbial agents — viruses, bacteria, fungi, protozoa, multicellular parasites, prions.
Full example of schema.org/InfectiousDisease 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",
"alternateName": ["TB", "Phthisis"],
"infectiousAgent": "Mycobacterium tuberculosis",
"infectiousAgentClass": "https://schema.org/Bacteria",
"transmissionMethod": "Airborne droplet nuclei generated by coughing, sneezing, or speaking; prolonged close contact increases risk.",
"signOrSymptom": [
{ "@type": "MedicalSignOrSymptom", "name": "Persistent cough (>3 weeks)" },
{ "@type": "MedicalSignOrSymptom", "name": "Haemoptysis" },
{ "@type": "MedicalSignOrSymptom", "name": "Night sweats" },
{ "@type": "MedicalSignOrSymptom", "name": "Unintentional weight loss" }
],
"possibleTreatment": {
"@type": "MedicalTherapy",
"name": "Standard short-course anti-tuberculosis chemotherapy (2 months RIPE + 4 months RI)"
},
"primaryPrevention": "BCG vaccination in high-burden regions; case-finding and contact tracing; improved ventilation and nutrition.",
"epidemiology": "Approximately 10 million new cases and 1.3 million deaths globally per year (WHO, 2023).",
"code": { "@type": "MedicalCode", "codeValue": "A15.9", "codingSystem": "ICD-10" },
"relevantSpecialty": "https://schema.org/PulmonaryMedicine"
}
</script>Direct properties (3)
infectiousAgent: Text — the specific pathogen (Mycobacterium tuberculosis, SARS-CoV-2).infectiousAgentClass: InfectiousAgentClass enum — Bacteria, Fungus, MulticellularParasite, Prion, Protozoa, Virus.transmissionMethod: Text — how it spreads (airborne droplets, faecal-oral, vector-borne, bloodborne).
InfectiousDisease inherits everything a MedicalCondition carries: signOrSymptom, possibleTreatment, epidemiology, pathophysiology, riskFactor, stage, primaryPrevention, secondaryPrevention, and the MedicalEntity base (code, guideline, study, legalStatus, relevantSpecialty).
Minimal valid version
The smallest markup that still produces a valid InfectiousDisease 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",
"name": "Pulmonary tuberculosis",
"infectiousAgent": "Mycobacterium tuberculosis",
"infectiousAgentClass": "https://schema.org/Bacteria"
}
</script>Google rich results this unlocks
Markup matching this example makes your page eligible for the following Google Search rich results. The primary target drives the required / recommended property classification in the advanced code block above.
- Google docsNo dedicated rich result (public-health / patient-education markup)
Common InfectiousDisease 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
infectiousAgentClass as bare text
Wrong"infectiousAgentClass": "Bacteria"Right"infectiousAgentClass": "https://schema.org/Bacteria"InfectiousAgentClass is a closed enum of six values. Use the fully-qualified URI or match the bare label exactly so the closed set validates.
- 02
Using MedicalCondition instead of InfectiousDisease for an infection
Wrong"@type": "MedicalCondition", "name": "Tuberculosis"Right"@type": "InfectiousDisease" with infectiousAgent / infectiousAgentClass / transmissionMethodInfectiousDisease carries the agent and transmission route — clinically load-bearing fields a generic MedicalCondition can't express.
- 03
transmissionMethod as one word
Wrong"transmissionMethod": "Airborne"RightFull description including how, proximity, and risk factorsPublic-health markup is read by both patients and AI assistants; a one-word answer loses the mechanistic detail people need.
Schema properties in this example
Also mentioned in 4 other examples
InfectiousDisease also appears in DDxElement, ImagingTest, MedicalCause, and PathologyTest. See the full InfectiousDisease schema page for every reference.
About the example data
Pulmonary tuberculosis — the leading infectious killer of post-war Denmark, the condition whose case-finding protocols Jane Xoo extended to her 1945 paediatric practice.
Comments
Loading comments...