Description
Return its first JavaScript character and exact membership in allowedSectors.
Historical and public-register references combine repositories, series, titles and local identifiers. A syntactic token or hierarchy count helps organize records without authenticating the source or establishing a document's historical or legal meaning.
Return its first JavaScript character and exact membership in allowedSectors.
When to use this tool
Use Eu Celex Sector Prefix Flag when you need a literal archival or public-register record operation.
How to use the tool and how it works
- Enter identifier, allowedSectors. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read prefix, permitted. Inspect permitted before interpreting the associated values.
Require nonempty identifier. Return its first JavaScript character and exact membership in allowedSectors.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| identifier | Identifier | Required. Text; maximum UTF-16 length 8192. |
| allowedSectors | Allowed Sectors | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| prefix | Supplied or returned literal prefix under the stated grammar. | Required. Text; maximum UTF-16 length 8192. |
| permitted | Permitted | Required. Boolean. |
{
"input": {
"identifier": "32016R0679",
"allowedSectors": [
"0",
"1",
"2",
"3"
]
},
"output": {
"prefix": "3",
"permitted": true
}
} Limitations and assumptions
- Only a supplied prefix vocabulary is checked; this is not full CELEX syntax validation, document retrieval or legal interpretation.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Consult the source repository's catalog and description conventions for identity and interpretation. Preserve original references and resolve language, hierarchy and identifier rules before treating a token match as an authenticated record.
References
Similar or alternative tools
- Multilingual Title Sort Prefix
Compare title with nonempty supplied prefixes, optionally after lowercasing.
- Eu Celex Identifier Components Tool
Split a basic CELEX identifier into sector, year, document type and four-digit document number. Consolidated dates, corrigenda and suffix forms are outside this grammar.