PubIDPubID

Decision

RegionalDecision

Description

An EU decision (CELEX sector 3, letter D; ELI segment dec). Decisions used both print orders before 2015: an act of the Parliament and the Council prints <number>/<year> (Decision No 1082/2013/EU), a Commission act prints <year>/<number> (2010/87) — the builder keeps the input order in number_first only when it differs from the default rule, and equality ignores the flag, so EU Decision 1082/2013 equals CELEX 32013D1082 even though that CELEX face renders year-first (EU Decision 2013/1082).

Syntax

EU identifiers follow the canonical form 'EU <Type> <a>/<b>' (Regulation, Directive, Decision). The Official Journal long form (Regulation (EU) No 1227/2011, Directive 2010/75/EU), the CELEX number (32011R1227 — sector 3, year, type letter R/L/D, number padded to 4; CELEX 32011R1227 and CELEX:32011R1227 both parse) and the ELI URL (http://data.europa.eu/eli/reg/2011/1227/oj) all parse and render canonical; Pubid.parse routes the canonical EU prefix only — call Pubid::Eu.parse for the other forms. #to_celex and #to_eli give the two official identifiers back; the EU has no URN namespace in the IANA registry, so to_urn (urn:eu:reg:2011:1227) is pubid-invented and the round-trip machine form is the pubid-scheme URN. The two-number order is spelling, not identity: before 2015 a regulation printed <number>/<year> while other acts used both orders, and 'No' always marks <number>/<year>. The builder stores number_first only when the input order differs from that rule, and equality ignores it — EU Decision 1082/2013 equals CELEX 32013D1082. When a plain print would read as another act, the renderer prints 'No <number>/<year>' (32014R2015 → EU Regulation No 2015/2014), so every print parses back to its own act. Years run 1952–2099; two-digit years (Directive 95/46/EC), joint families ((EU, Euratom)), two conflicting families (…1227/2011/EC), a pair with no plausible year (12/34) and number 0 are rejected; the author words of the Official Journal title (Commission Implementing Regulation …) are not parsed.

Examples 5

EU Decision 2010/87
EU Decision 1082/2013
Decision No 1082/2013/EU→EU Decision 1082/2013
32013D1082→EU Decision 2013/1082
http://data.europa.eu/eli/dec/2010/87→EU Decision 2010/87

Components Used

EU Decision identifiers are composed of these elements:

Publisher
Enumeration

The issuing organization — kept in the PUBLISHER constant, not an attribute; the canonical face prints the EU prefix

EU
Prefix of the canonical form; to_s(with_publisher: false) drops it (Regulation 1227/2011)
e.g.EU
Act Type
Enumeration

The legal act type — regulation, directive or decision; the leaf class of the identifier

RegulationDirectiveDecision
Word after the publisher; determines the CELEX letter (R/L/D) and the ELI segment (reg/dir/dec)
e.g.Regulation
Number
String

The act number, with CELEX zero padding stripped

32016R0679 reads as 679; the printed face can be <number>/<year> or <year>/<number>
e.g.1227
:number
Year
Year

The year of the act — identity, not an edition: 1227/2011 and 1227/2012 are two acts

1952–2099; two-digit years are rejected
e.g.2011
:year
Legal Family
Enumeration

The bracketed legal family of the Official Journal form

EUECEECEuratomCFSP
Set by the long form only (Regulation (EU) No 1227/2011); a canonical reference omits it, so a family-less reference matches a row that has one (===)
e.g.EU
:family
Number Order
Enumeration

The print order flag, set only when the input order differs from the default rule (pre-2015 regulations print <number>/<year>, everything else <year>/<number>)

truefalsenil (the default rule applies)
Spelling only: equality-ignored and a URN facet (urn:pubid:eu:dec:2013:1082:f:0.numberfirst-true)
e.g.true
:number_first

Algebraic Relations

Relations that can involve Decision identifiers:

RelationDescriptionSyntaxExample
Official Journal long formThe printed form of the Journal parses and renders canonical; it sets the family, which identity treats as a wildcard<Type> ([<family>]) [No] <number>/<year>[/<family>]Regulation (EU) No 1227/2011
CELEX numberThe CELEX number of the same act — sector 3, year, type letter, number padded to 4; #to_celex gives it back from any form[CELEX[:| ]]<3><year><R|L|D><number padded to 4>32011R1227
ELIThe ELI of the act as published in the Official Journal — the EU's official identifier; #to_eli gives it back from any formhttp(s)://data.europa.eu/eli/{reg|dir|dec}/<year>/<number>[/oj]http://data.europa.eu/eli/reg/2011/1227/oj
Number orderThe two numbers may print in either order; the order is spelling, not identity — equality ignores number_first, so both faces name one actEU Decision <number>/<year> ≡ <3><year>D<number>EU Decision 1082/2013 ≡ 32013D1082
pubid-scheme URNThe always-round-trip machine form; the act type is an atom-level token so a regulation and a decision with one number do not collideurn:pubid:eu:{reg|dir|dec}:<year>:<number>[:family-<f>][:f:0.numberfirst-<bool>]urn:pubid:eu:dec:2013:1082:f:0.numberfirst-true

URN Mapping

Patternurn:pubid:eu:{reg|dir|dec}:{year}:{number}[:family-{EU|EC|EEC|Euratom|CFSP}][:f:0.numberfirst-{true|false}] (the to_urn convenience shape is urn:eu:{reg|dir|dec}:{year}:{number}; the ELI — http://data.europa.eu/eli/… via #to_eli — is the EU's official identifier, so the lossless pubid scheme is the pattern of record here)

See Also