european commission online collection software (ocs) · online collection software (ocs) -...
TRANSCRIPT
Online Collection Software (OCS) - 22/07/2014 - 1 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
European Commission
Online Collection Software (OCS)
Validation rules detailed analysis
Country specific rules: passport & ID formats
European Citizen Initiative (ECI)
Update: July 22, 2014
Creation date: August 9, 2012
Software version: Release 1.5
Based on: OCS – Document “ID validation rules detailed analysis” 9/8/2012
OCS – Document “ID detailed analysis document” 17/7/2013
Online Collection Software (OCS) - 22/07/2014 - 2 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
Document History
Version Date Changes Modified
Sections
1.3.1 09/08/2012 French Identity Card validation rule amended: 12-
character format now alphanumeric.
Section
Error!
Reference
source not
found.
Swedish Document ID validation rule amended: format
extended from 10 to 12 digits.
Section
2.27
1.3.2 28/09/2012 French Identity Card validation rule amended: 7-character
format now alphanumeric.
Section
Error!
Reference
source not
found.
French Driving Licence validation rule amended: no
standard format exists => any Latin alphanumeric value
will be accepted.
Italian Identity Card validation rule amended: two
additional formats will now be supported.
Section
Error!
Reference
source not
found.
Italian Passport validation rule amended: simplified for
format LLNNNNNNN; two additional formats will also
now be supported.
Portuguese Identity Card validation rule amended for
Cartão de Cidadão: format extended from 11 to 12
characters. The format is now NNNNNNNNNLLN.
Section
Error!
Reference
source not
found.
Swedish Document ID: Customised error message
introduced.
Section
2.27
06/12/2012 Austrian Passport validation rule amended to include an
additional format: LNNNNNNNN.
Section
Error!
Reference
source not
found.
Patch 1 24/01/2013 Portuguese validation rule amended for the Identity Card
called Bilhete de Identidade: value from 1 to 8 digits
will now be accepted.
Section
Error!
Reference
source not
found.
11/02/2013 Enhanced clarity on date formats. Section
Error!
Reference
Online Collection Software (OCS) - 22/07/2014 - 3 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
Version Date Changes Modified
Sections
source not
found.
Online Collection Software (OCS) - 22/07/2014 - 4 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
Version Date Changes Modified
Sections
1.4.0 15/02/2013 Customised error messages and tooltips added. Error!
Reference
source not
found.,
Sections
Error!
Reference
source not
found.,
Error!
Reference
source not
found.,
Error!
Reference
source not
found.,
Error!
Reference
source not
found.,
Error!
Reference
source not
found.,
Error!
Reference
source not
found.,
Error!
Reference
source not
found.,
Error!
Reference
source not
found.,
Error!
Reference
source not
found.,
Error!
Reference
source not
found.,
Error!
Reference
source not
found.,
Error!
Reference
source not
found.,
Error!
Online Collection Software (OCS) - 22/07/2014 - 5 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
Version Date Changes Modified
Sections
Patch 1 11/07/2013 French validation rule amended for Carte d'invalidité
civile ou militaire avec photographie: the current format
NNNNNNNNN is incorrect and will be replaced by the
format NNLNNNNNN.
Section
Error!
Reference
source not
found.,
Error!
Reference
source not
found.
1.4.1 15/07/2013 Details for Croatia added.
https://joinup.ec.europa.eu/software/ocs/asset_release/ocs-
140-dd-edition-01/07/2013
Section
Error!
Reference
source not
found.,
Error!
Reference
source not
found.,
Error!
Reference
source not
found.,
Error!
Reference
source not
found.
1.5.0 17/07/2013 This version includes the changes for the Annex III
amendment of Regulation 211/2011:
Luxembourg: removal of the personal identification
number from their data requirements.
Section
Error!
Reference
source not
found.,
Error!
Reference
source not
found.
Online Collection Software (OCS) - 22/07/2014 - 6 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
Version Date Changes Modified
Sections
Slovenia: replacement of the identity card and passport
by the personal identification number (enotna matična
številka občana).
Section
Error!
Reference
source not
found.,
Error!
Reference
source not
found.
Spain: a foreigner’s identification number (NIE) is
added to the available Document Types.
Section
Error!
Reference
source not
found.,
Error!
Reference
source not
found.
France: the list of available Document Types will now
be limited to the passport and national identity card.
Section
Error!
Reference
source not
found.,
Error!
Reference
source not
found.
Sweden: the list of available Document Types will now
be limited to: Personnummer (personal identification
number).
Section
Error!
Reference
source not
found.
Romania: the list of available Document Types is:
– carte de identitate (identity card)
– pașaport (passport)
– certificat de înregistrare (registration certificate)
– carte de rezidență permanentă pentru cetățenii UE
(permanent residence card for EU citizens)
– Cod Numeric Personal (personal identification
number)
N.B. The only differences are in the addition of accents
on certain letters.
https://joinup.ec.europa.eu/software/ocs/asset_release/ocs-
150-annex-iii-edition-08/10/2013
Section
Error!
Reference
source not
found.
Online Collection Software (OCS) - 22/07/2014 - 7 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
Online Collection Software (OCS) - 22/07/2014 - 8 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
Contents
1 Introduction .................................................................................................................... 6 1.1 Intended Readership ........................................................................................... 6
2 Document Types ............................................................................................................ 7 2.1 Austria ................................................................................................................ 8 2.2 Belgium .............................................................................................................. 8 2.3 Bulgaria .............................................................................................................. 8 2.4 Croatia ................................................................................................................ 8 2.5 Cyprus ................................................................................................................ 9 2.6 Czech Republic .................................................................................................. 9 2.7 Denmark ............................................................................................................10 2.8 Estonia ..............................................................................................................10 2.9 Finland ...............................................................................................................10 2.10 France ................................................................................................................10 2.11 Germany ............................................................................................................10 2.12 Greece ...............................................................................................................11 2.13 Hungary .............................................................................................................11 2.14 Ireland ................................................................................................................12 2.15 Italy ....................................................................................................................12 2.16 Latvia .................................................................................................................12 2.17 Lithuania ............................................................................................................12 2.18 Luxembourg ......................................................................................................12 2.19 Malta ..................................................................................................................13 2.20 Netherlands .......................................................................................................13 2.21 Poland ...............................................................................................................13 2.22 Portugal .............................................................................................................13 2.23 Romania ............................................................................................................14 2.24 Slovakia .............................................................................................................14 2.25 Slovenia .............................................................................................................14 2.26 Spain ..................................................................................................................14 2.27 Sweden ..............................................................................................................15 2.28 United Kingdom ................................................................................................15
Appendix I Whitespace and Punctuation Characters ..............................................16 Appendix II Greek Alphabet .....................................................................................17 Appendix III Bulgarian Cyrillic Alphabet ....................................................................18 Glossary ...............................................................................................................................19
Online Collection Software (OCS) - 22/07/2014 - 9 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
1 INTRODUCTION
Each EU country has specific rules for who can support a Citizens' Initiative.
This analysis document specifies the rules and the means of identification of a Citizens' Initiative signatory for each country in the EU.
There will be a validation rule per country and per type of Document ID. When a type of Document ID has more than one format, there will be a validation rule for each of these formats.
The same rules are used in the Validation Tool for Statements of Support (VTECI). Thus, the intended readership also includes the National Authorities in charge of validation.
1.1 Intended Readership
OCS Open Source Community
Members of the OnLine Collection Software for ECI software community in joinup.eu
Developers The developers will compare the as-is state of the software with this specification.
Testers The testers will prepare appropriate test specifications.
National Authorities The National Authorities will compare their national rules with this specification.
Online Collection Software (OCS) - 22/07/2014 - 10 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
2 DOCUMENT TYPES
The user will be able to enter a document number with or without whitespace and punctuation characters such as slash or hyphen. All such whitespace and punctuation characters entered by the user will be regarded as insignificant for validation purposes. i.e. Validation rules will ignore any whitespace and punctuation characters entered, and will normally validate based solely on alphanumeric content.
Acceptable whitespace and punctuation characters are defined in Appendix I - Whitespace and Punctuation Characters.
A rejection error will be triggered if a field entry contains an invalid character. i.e. The entry of a character which is non-alphanumeric and not an acceptable whitespace or punctuation character.
The means of identification is normally by either Passport or Identity Card. The format of a valid identification number is shown per country in the following sub-sections. Any exceptions or additions to the means of identification for a particular country will be specified in its sub-section.
For each country the various means of identification will normally be shown via a Document Type drop-down List Box. The exception to this is when only one Document Type is available for a country, in which case that Document Type will be shown as a fixed text.
Key: L => Latin Alphabetic case-insensitive letter (A-Z, a-z)
N => Arabic Numeral (0-9)
A => Latin Alphanumeric case-insensitive => L or N (A-Z, a-z, 0-9)
G => Greek Alphabetic case-insensitive letter (Α-Ω, α-ω)
B => Bulgarian Cyrillic Alphabetic case-insensitive letter (А-Я, а-я)
ddmmyy => Date in digital day-month-year format
yymmdd => Date in digital year-month-day format
Length => significant length i.e. excluding punctuation and whitespace characters
Online Collection Software (OCS) - 22/07/2014 - 11 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
2.1 Austria
Country Code: AT Means of Identification
Document Type Local Name Format Length
Passport: Reisepass LNNNNNNN 8
: LNNNNNNNN 9
Identity Card: Personalausweis NNNNNNN 7
NNNNNNNN 8
2.2 Belgium
Country Code: BE Means of Identification: Non-Document
2.3 Bulgaria
Country Code: BG Means of Identification
Document Type Local Name Format Length
Personal Identification Number:
Единен граждански номер (ЕГН)
NNNNNNNNNN 10
2.4 Croatia
Country Code: HR Means of Identification
Document Type Local Name Format Length
Personal Identification Number:
NNNNNNNNNNN 11
Online Collection Software (OCS) - 22/07/2014 - 12 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
2.5 Cyprus
Country Code: CY Means of Identification
Document Type Local Name Format Length
Passport: Διαβατήριο (= Passport) LNNNNNN
Validation rules:
L: Any Latin alphabetic letter from B, C, E, J.
NNNNNN
7
LNNNNNNNN
Validation rules:
L: The Latin alphabetic letter K.
NNNNNNNN
9
LLNNNNNNN
Validation rules:
LL: Any Latin alphabetic string from:
DP => Diplomatic Passport
SP => Service
Passport
NNNNNNN
9
Identity Card: Δελτίο Ταυτότητας (= Identity Card)
NNNNNNNNNN
Format rules:
NN: prefix: 00 => Cypriot national (leading zeroes are omitted => the prefix is omitted) 03 => Alien born in Cyprus 05 => Alien born outside Cyprus
NNNNNNNN: sequence-no. (leading zeroes are omitted)
<=10
>=1
2.6 Czech Republic
Country Code: CZ Means of Identification
Document Type Local Name Format Length
Passport: Cestovní pas NNNNNNNN 8
NNNNNNN 7
Online Collection Software (OCS) - 22/07/2014 - 13 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
Country Code: CZ Means of Identification
Document Type Local Name Format Length
Identity Card: Občanský průkaz NNNNNNNNN 9
NNNNNNLLNN 10
NNNNNNLL 8
LLNNNNNN 8
2.7 Denmark
Country Code: DK Means of Identification: Non-Document
2.8 Estonia
Country Code: EE Means of Identification: Non-Document
2.9 Finland
Country Code: FI Means of Identification: Non-Document
2.10 France
Country Code: FR Means of Identification
Document Type Local Name Format Length
Passport: Passeport NNLLNNNNN 9
Identity Card: Carte nationale d’identité (CNI)
NNNNNNN 7
NNNNNNNNNNNN 12
2.11 Germany
Country Code: DE Means of Identification: Non-Document
Online Collection Software (OCS) - 22/07/2014 - 14 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
2.12 Greece
Country Code: GR Means of Identification
Document Type Local Name Format Length
Passport: Διαβατήριο LLNNNNNNN
Validation rules:
Two Latin letters followed by 7 digits. e.g. ZH9999999
9
Identity Card:
N.B. Greek letters will not be validated => any alphanumeric character will be accepted in the position of a Greek letter.
Δελτίο Αστυνομικής Ταυτότητας
GNNNNNN
Validation rules:
One Greek letter followed by 6 digits. e.g. N928409
7
GGNNNNNN
Validation rules:
Two Greek letters followed by 6 digits. e.g. AE59662
8
Residence certificate: Βεβαίωση Εγγραφής Πολιτών Ε.Ε.
NNNNNN <=6
>=1
Permanent residence certificate:
Έγγραφο πιστοποίησης μόνιμης διαμονής πολίτη Ε.Ε.
NNNNN <=5
>=1
2.13 Hungary
Country Code: HU Means of Identification
Document Type Local Name Format Length
Passport: útlevél LLNNNNNN 8
LLNNNNNNN 9
Identity Card: személyazonosító igazolvány
NNNNNNLL 8
LLNNNNNN 8
LLLNNNNNN 9
LLLLNNNNNN 10
LLLLLNNNNNN 11
Personal Identification Number:
személyi azonosító szám (személyi szám)
NNNNNNNNNNN 11
Online Collection Software (OCS) - 22/07/2014 - 15 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
2.14 Ireland
Country Code: IE Means of Identification: Non-Document
2.15 Italy
Country Code: IT Means of Identification
Document Type Local Name Format Length
Passport: Passaporto LLNNNNNNN 9
LNNNNNN 7
NNNNNNL 7
Identity Card: Carta di identità LLNNNNNNN 9
NNNNNNNLL 9
LLNNNNNN 8
LLNNNNNNNN 10
N.B. The issuing authority of the document must also be indicated.
2.16 Latvia
Country Code: LV Means of Identification
Document Type Local Name Format Length
Personal Identification Number:
Personas kods NNNNNNNNNNN 11
2.17 Lithuania
Country Code: LT Means of Identification
Document Type Local Name Format Length
Personal Identification Number:
Asmens kodas NNNNNNNNNNN 11
2.18 Luxembourg
Country Code: LU Means of Identification: Non-Document
Online Collection Software (OCS) - 22/07/2014 - 16 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
2.19 Malta
Country Code: MT Means of Identification: No format is known
No format is known, any Latin alphanumeric value will be accepted.
2.20 Netherlands
Country Code: NL Means of Identification: Non-Document
2.21 Poland
Country Code: PL Means of Identification
Document Type Local Name Format Length
Personal Identification Number:
Numer ewidencyjny PESEL NNNNNNNNNNN 11
2.22 Portugal
Country Code: PT Means of Identification
Document Type Local Name Format Length
Passport: Passaporte LNNNNNN 7
Identity Card: Cartão de Cidadão NNNNNNNNNLLN 12
Bilhete de Identidade NNNNNNNN 8
NNNNNNN 7
NNNNNN 6
NNNNN 5
NNNN 4
NNN 3
NN 2
N 1
N.B. The Bilhete de Identidade is still in use, although it is currently being phased out in
favour of the Cartão de Cidadão.
Online Collection Software (OCS) - 22/07/2014 - 17 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
2.23 Romania
Country Code: RO Means of Identification
Document Type Local Name Format Length
Passport: Pasaport Unvalidated identification number
n/a
Identity Card: Carte de identitate LLNNNNNN 8
Personal Identification Number:
Cod Numeric Personal (CNP)
NNNNNNNNNNNNN 13
Registration Certificate:
Certificat de Inregistrare NNNNNNNNNNNNN 13
Permanent Residence Card for EU Citizens:
Cartea de Rezidenta Permanenta pentru Cetatenii UE
NNNNNNNNNNNNN 13
N.B. Romania is the issuing authority of the document Permanent Residence Card for EU
Citizens.
2.24 Slovakia
Country Code: SK Means of Identification: Non-Document
2.25 Slovenia
Country Code: SI Means of Identification
Document Type Local Name Format Length
Personal ID number: NNNNNNNNNNNNN 13
2.26 Spain
Country Code: ES Means of Identification
Document Type Local Name Format Length
Identity Card: Documento Nacional de Identidad (DNI)
NNNNNNNNL 9
Foreigner’s identification number (NIE), of the card or certificate, corresponding to the registration in the Foreigners’ Central Registry:
LNNNNNNNL Validation rules: First L: Any Latin alphabetic letter from X, Y, Z. NNNNNNN
L
9
Online Collection Software (OCS) - 22/07/2014 - 18 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
2.27 Sweden
Country Code: SE Means of Identification
Document Type Local Name Format Length
Personal Identification Number from
Passport:
Personnummer NNNNNNNNNNNN 12
N.B. The Passport and the Identity Card contain the same Personal Identification Number.
2.28 United Kingdom
Country Code: GB Means of Identification: Non-Document
Online Collection Software (OCS) - 22/07/2014 - 19 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
Appendix I Whitespace and Punctuation Characters
The following Whitespace and Punctuation Characters will be accepted as insignificant characters in an entry field for a Document ID:
Symbol Name UTF-8 Decimal Encoding
whitespace: space 32
horizontal tab 9
. dot 46
, comma 44
- hyphen 45
_ underscore 95
/ slash 47
\ backslash 92
: colon 58
; semi-colon 59
N.B. As insignificant characters, any Whitespace or Punctuation Characters entered for a
Document ID will be:
displayed when entered
excluded from the length and accepted value for the Document ID
excluded from any exported PDF or XML file
Online Collection Software (OCS) - 22/07/2014 - 20 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
Appendix II Greek Alphabet
Greek Alphabet
Letter Name Letter Name
Α α Alpha Ν ν Nu
Β β Beta Ξ ξ Xi
Γ γ Gamma Ο ο Omicron
Δ δ Delta Π π Pi
Ε ε Epsilon Ρ ρ Rho
Ζ ζ Zeta Σ σς Sigma
Η η Eta Τ τ Tau
Θ θ Theta Υ υ Upsilon
Ι ι Iota Φ φ Phi
Κ κ Kappa Χ χ Chi
Λ λ Lambda Ψ ψ Psi
Μ μ Mu Ω ω Omega
Online Collection Software (OCS) - 22/07/2014 - 21 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
Appendix III Bulgarian Cyrillic Alphabet
Bulgarian Cyrillic Alphabet
Letter Name Letter Name
А а A П п Pe
Б б Be Р р Er
В в Ve С с Es
Г г Ge Т т Te
Д д De У у U
Е е Ye Ф ф Ef
Ж ж Zhe Х х Kha
З з Ze Ц ц Tse
И и I Ч ч Che
Й й short I Ш ш Sha
К к Ka Щ щ Shcha, Shta
Л л El Ъ ъ liitle Er
М м Em Ь ь big Er
Н н En Ю ю Yu
О о O Я я Ya
Online Collection Software (OCS) - 22/07/2014 - 22 | P a g e ID validation rules detailed analysis
Software v 1.5 - European Union Public Licence (EUPL)
Glossary
Term Description (EN)
ECI European Citizens' Initiative
OCS Online Collection Software (for ECI) N.B. The term Online Collection System is used in the context of
the complete Online Collection environment, which includes not only the software but also all the other elements of the system such as hardware, hosting environment, etc. It is the Online Collection System which a Citizens' Initiative organiser has to have certified by the applicable Member State authority.
OCT Online Collection Tool N.B. This name has been deprecated and replaced by the name
OnLine Collection Software.
PDF Portable Document Format
UTF-8 UCS Transformation Format 8-bit A variable-width encoding that can represent every character in the Unicode character set.
XML Extensible Markup Language