{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"legislation.schema.json","title":"EU legal act published in the Official Journal of the European Union (regulation, directive or decision)","description":"Source: CELLAR, the common repository of the Publications Office of the European Union (SPARQL endpoint publications.europa.eu/webapi/rdf/sparql). Reused under the Commission reuse notice (Decision 2011/833/EU); source: EUR-Lex, (c) European Union. Metadata only; the authentic text is the Official Journal on EUR-Lex.","type":"object","required":["id","celex","title","form","act_type","authors","oj_date","entry_into_force_dates","subject_matter","eurovoc","amends","repeals","updated","url","verification","paid_placement","source_id","source_url","retrieved_at"],"additionalProperties":false,"properties":{"id":{"type":"string","description":"CELEX number of the act"},"celex":{"type":"string","pattern":"^3\\d{4}[RLD]\\d{4,5}$","description":"CELEX number, for example 32026R2333 (R regulation, L directive, D decision)"},"eli":{"type":["string","null"],"description":"European Legislation Identifier (ELI) URI, for example http://data.europa.eu/eli/reg_impl/2026/2333/oj"},"title":{"type":"string","description":"Official English title"},"form":{"enum":["regulation","directive","decision"],"description":"Legal form"},"act_type":{"enum":["regulation","implementing-regulation","delegated-regulation","directive","implementing-directive","delegated-directive","decision","implementing-decision","delegated-decision"],"description":"Act type: basic, implementing or delegated act"},"authors":{"type":"array","items":{"type":"string"},"description":"Author institutions and bodies, for example European Commission, Council of the European Union, European Parliament, or the responsible Commission Directorate-General"},"date_document":{"type":["string","null"],"description":"Date of the act (date of adoption or signature, ISO 8601)","format":"date"},"oj_date":{"type":"string","format":"date","description":"Date of publication in the Official Journal (ISO 8601)"},"oj_series":{"type":["string","null"],"description":"Official Journal series, normally L"},"oj_reference":{"type":["string","null"],"description":"Official Journal reference, for example OJ L, 2026/2333, 15.10.2026"},"entry_into_force":{"type":["string","null"],"description":"Earliest date of entry into force or date of effect (ISO 8601)","format":"date"},"entry_into_force_dates":{"type":"array","items":{"type":"string"},"description":"All dates of entry into force or effect recorded for the act (ISO 8601), for example when provisions apply in stages"},"end_of_validity":{"type":["string","null"],"description":"End of validity where the act has a fixed end date (ISO 8601); null when open-ended","format":"date"},"in_force":{"type":["boolean","null"],"description":"In-force status as recorded by the Publications Office: true in force, false not (yet) in force or no longer in force, null not recorded"},"subject_matter":{"type":"array","items":{"type":"string"},"description":"EUR-Lex subject matter headings (English)"},"eurovoc":{"type":"array","items":{"type":"string"},"description":"EuroVoc descriptors (English preferred labels)"},"amends":{"type":"array","items":{"type":"string"},"description":"CELEX numbers of the acts this act amends"},"repeals":{"type":"array","items":{"type":"string"},"description":"CELEX numbers of the acts this act repeals"},"updated":{"type":"string","format":"date","description":"Date of the latest change to the act's metadata in CELLAR (ISO 8601)"},"url":{"type":"string","description":"Official EUR-Lex page of the act (English)"},"verification":{"const":"official-publication","description":"Metadata of the official publication in the Official Journal, from the Publications Office"},"paid_placement":{"const":false,"description":"Always false: no record is paid for or promoted"},"source_id":{"enum":["cellar-sparql-oj-acts"]},"source_url":{"type":"string","description":"CELLAR URI of the act (Linked Data resource of the Publications Office)"},"retrieved_at":{"type":"string","format":"date-time"}}}