{
  "id": "ojreference",
  "name": "Official Journal reference",
  "status": "stable",
  "doc": "EU datatype for 'Official Journal reference' (ojreference) from rules in context 'government'. The Official Journal reference is a unique identifier used to reference notices and documents published in the Official Journal of the European Union. The format consists of the prefix 'OJ/S' followed by an optional space, then 1 to 4 digits representing the notice number, a forward slash, and 1 to 4 digits representing the year or sequence number.",
  "categories": [
    {
      "id": "government",
      "name": "Government related"
    }
  ],
  "country": [
    {
      "id": "EU",
      "name": "European Union"
    }
  ],
  "langs": [
    {
      "id": "en",
      "name": "English"
    }
  ],
  "is_pii": false,
  "classification": "identifier",
  "regexp": "^OJ/S\\s?\\d{1,4}/\\d{1,4}$",
  "examples": [
    {
      "value": "OJ/S 123/456",
      "description": "Official Journal reference with space and 3-digit numbers"
    },
    {
      "value": "OJ/S123/456",
      "description": "Official Journal reference without space and 3-digit numbers"
    },
    {
      "value": "OJ/S 1/2024",
      "description": "Official Journal reference with single digit and year"
    },
    {
      "value": "OJ/S1234/1",
      "description": "Official Journal reference with 4-digit notice number"
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://eur-lex.europa.eu/oj/direct-access.html"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Official_Journal_of_the_European_Union"
    }
  ],
  "translations": {
    "en": {
      "name": "Official Journal Reference"
    },
    "fr": {
      "name": "Référence du Journal Officiel"
    },
    "de": {
      "name": "Amtsblatt-Referenz"
    },
    "es": {
      "name": "Referencia del Diario Oficial"
    }
  },
  "type": "datatype"
}