Skip to content

Commit

Permalink
Merge pull request #619 from UnionInternationalCheminsdeFer/614-propr…
Browse files Browse the repository at this point in the history
…ietary-codelist-domain

#614 Documentation on proprietary code list domains
  • Loading branch information
schlpbch authored Jul 26, 2024
2 parents 696dfae + 8972754 commit bedced6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion spec/catalog-of-code-lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,18 @@ rest of the OSDM community. To do so, an OSDM provider should then use the
following format for the proprietary values it wishes to extend the code set
with :

urn: X\_<3 letters code for the provider>:<codetype identifier>:<value>
urn: x\_<ascii alphanumeric letters code for the provider>:<codetype identifier>:<value>

For example: urn: x_zoo:paxtype:OLIPHANT

[RFC 8141 Section 2.1](https://datatracker.ietf.org/doc/html/rfc8141#section-2.1) allows the domain part of the URN to be 30 ASCII alphanumeric letters at maximum including the `x_` prefix. URN treats the domain part as case-insensitive where OSDM mandates it to be always lower case.

### Known proprietary code lists

| Domain | Code List | Description |
| ------ | --------- | ------------------- |
| x_eva | stn | HAFAS station codes |

## Accommodation Type <a name="AccomodationType">

| Code | Description |
Expand Down

0 comments on commit bedced6

Please sign in to comment.