Class

Badge

A small styled annotation rendered next to its surrounding inline content — the natural shape for "this resource is of type X" tags next to a heading, status pills, version chips, etc. `badgeLabel` is the visible text. `badgeTarget` is optional — when set, the badge is clickable and backends serialize it as a canonical URI link (the same target convention as ResourceLink). `badgeTooltip` populates the hover tooltip (`title=` in HTML, link-title in Markdown). The universal renderer emits one Badge per `rdf:type` value next to the resource's H1; publisher transformations can emit Badges for any other annotation a domain wants to surface (status, deprecation marker, version, etc.). HTML backends render Badge as a styled chip; Markdown backends render it as the link form (or the bare label when no target) so the text round-trips cleanly through plaintext readers.

Subclass Of
Inline

Referenced by

Domain