Skip to content
AnswerWell geo Documentation

Research · 5 min read · Answerwell

Legislation Markup Types, ELI Properties and Legal Force Values

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.

ELI ontology: where the Legislation vocabulary comes from

Section titled “ELI ontology: where the Legislation vocabulary comes from”

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.

Legislation and LegislationObject types: what to mark up

Section titled “Legislation and LegislationObject types: what to mark up”

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.

Section titled “Legal force status: InForce, NotInForce, and PartiallyInForce”

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.

Section titled “Legal value level: official, authoritative, and unofficial publications”

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.

legislation properties: relationships, dates, and identifiers

Section titled “legislation properties: relationships, dates, and identifiers”

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

Identification, versioning, and classification

Section titled “Identification, versioning, and classification”
Property Page
legislationIdentifier legislationIdentifier
legislationDate legislationDate
legislationDateVersion legislationDateVersion
legislationType legislationType
Property Page
legislationPassedBy legislationPassedBy
legislationCountersignedBy legislationCountersignedBy
legislationResponsible legislationResponsible
Section titled “legislationPassedBy: legal author vs document author”

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.

Common mistakes when using ELI-based Legislation markup

Section titled “Common mistakes when using ELI-based Legislation markup”
  • Treating legislationPassedBy as the web author — Schema.org explicitly contrasts the legal author with the physical author of the document.
  • Using force and value enums interchangeably — InForce / NotInForce / PartiallyInForce describe force status; OfficialLegalValue and related terms describe publication value. Wire them through legislationLegalForce and legislationLegalValue respectively.
  • Inventing local property names — Prefer the legislation* properties so your data stays aligned with ELI and other EU publishers.
  • Omitting relationship properties — If you publish consolidations, amendments, or repeals as separate URLs, link them with the relationship properties rather than only human-readable cross-links.

Core type

Start from Legislation when marking up an act, regulation, or decree as structured data.

  1. Open Legislation and confirm each @type and property you use appears on that type or is inherited as documented there.

  2. 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.

  3. For force and value, open LegalForceStatus, LegalValueLevel, and the specific enumeration pages (InForce, OfficialLegalValue, and others) and match your literals to those term URLs.

  4. 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.

  5. 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.