Core type
Start from Legislation when marking up an act, regulation, or decree as structured data.
How Schema.org's ELI-based Legislation vocabulary names types, properties, and legal-force values for publishing law on the web.
This page summarizes Schema.org’s Legislation vocabulary: types, properties, and enumerated values that come from the European Legislation Identifier (ELI) ontology. The cluster sources are the official Schema.org term pages; most of them document ELI provenance in their acknowledgements, and one release note defines legislationPassedBy in full.
Schema.org’s Legislation-related terms are aligned with ELI (European Legislation Identifier), an initiative of national legislation publishers endorsed by EU countries and institutions to identify, describe, and link legislation on the web.
ELI ontology
This entry is derived from the ELI ontology (European Legislation Identifier). ELI is an initiative of some national legislation publishers endorsed by EU countries and Institutions, to identify, describe and link legislation on the web, and is led by the ELI taskforce.— Schema.org, Legislation
The same acknowledgement appears on the related type, property, and enumeration pages listed below, which tells you these identifiers are meant for interoperable legal metadata on the web, not ad hoc field names invented per site.
The vocabulary centers on two types:
| Type | Schema.org page |
|---|---|
Legislation |
Legislation |
LegislationObject |
LegislationObject |
Use the linked pages as the authority for which properties each type supports and how they relate to other Schema.org types (for example CreativeWork). The cluster sources do not reproduce full type definitions here; they establish ELI as the semantic basis shared by both types.
Legal force (whether a rule currently binds) is modeled through LegalForceStatus and member values that appear as dedicated terms in this vocabulary:
| Value | Page |
|---|---|
InForce |
InForce |
NotInForce |
NotInForce |
PartiallyInForce |
PartiallyInForce |
On a Legislation or LegislationObject resource, force is typically expressed with legislationLegalForce, which points at a LegalForceStatus value. Always confirm allowed combinations on the property page before publishing markup.
Legal value (how binding or official a particular text is) uses LegalValueLevel and these enumeration members:
| Value | Page |
|---|---|
OfficialLegalValue |
OfficialLegalValue |
AuthoritativeLegalValue |
AuthoritativeLegalValue |
DefinitiveLegalValue |
DefinitiveLegalValue |
UnofficialLegalValue |
UnofficialLegalValue |
Pair these with legislationLegalValue when you need consumers to distinguish, for example, a consolidated official text from an unofficial commentary or draft.
Schema.org names Legislation relationships with the legislation* prefix. Each property has its own page (all ELI-derived per the acknowledgements). Group them by the jobs publishers usually need:
| Property | Page |
|---|---|
legislationAmends |
legislationAmends |
legislationChanges |
legislationChanges |
legislationRepeals |
legislationRepeals |
legislationCorrects |
legislationCorrects |
legislationConsolidates |
legislationConsolidates |
legislationTransposes |
legislationTransposes |
legislationEnsuresImplementationOf |
legislationEnsuresImplementationOf |
Use these when you publish explicit links between instruments (amending act, repealer, consolidating version, EU transposition chain, and similar).
| Property | Page |
|---|---|
legislationApplies |
legislationApplies |
legislationCommences |
legislationCommences |
legislationDateOfApplicability |
legislationDateOfApplicability |
legislationJurisdiction |
legislationJurisdiction |
| Property | Page |
|---|---|
legislationIdentifier |
legislationIdentifier |
legislationDate |
legislationDate |
legislationDateVersion |
legislationDateVersion |
legislationType |
legislationType |
| Property | Page |
|---|---|
legislationPassedBy |
legislationPassedBy |
legislationCountersignedBy |
legislationCountersignedBy |
legislationResponsible |
legislationResponsible |
When markup asks who made the law, use legislationPassedBy. Schema.org distinguishes the institution that enacted the instrument from whoever prepared the web document.
The person or organization that originally passed or made the law: typically parliament (for primary legislation) or government (for secondary legislation). This indicates the “legal author” of the law, as opposed to its physical author.
Relevant types:
Legislation— Schema.org, Schema.org Version 30.1 (section
legislationPassedBy)
In practice: point legislationPassedBy at a Organization (or applicable type allowed on the property page) for the parliament or ministry, not at an individual web editor or CMS user.
legislationPassedBy as the web author — Schema.org explicitly contrasts the legal author with the physical author of the document.InForce / NotInForce / PartiallyInForce describe force status; OfficialLegalValue and related terms describe publication value. Wire them through legislationLegalForce and legislationLegalValue respectively.legislation* properties so your data stays aligned with ELI and other EU publishers.Core type
Start from Legislation when marking up an act, regulation, or decree as structured data.
Release reference
See Schema.org Version 30.1 for vocabulary notes such as legislationPassedBy.
Open Legislation and confirm each @type and property you use appears on that type or is inherited as documented there.
For legislationPassedBy, compare your JSON-LD to the definition on Schema.org Version 30.1 and verify the entity is the enacting institution, not a content author.
For force and value, open LegalForceStatus, LegalValueLevel, and the specific enumeration pages (InForce, OfficialLegalValue, and others) and match your literals to those term URLs.
For each relationship you assert (amendment, repeal, transposition), open the matching property page (for example legislationAmends) and check expected range types and whether the target is another Legislation / LegislationObject URI.
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
If something on this page does not match the Schema.org term pages, or you need a clarification on ELI-aligned Legislation markup, write to yimasynthetic@gmail.com with the page URL and the exact statement you are questioning.