TS-0001: Improve definition of APP-ID format
In TS-0001, Table 7.2-1: Identifier formats and rules of use, the current definition of APP-ID identifiers is written as follows:
App-ID is either registered with the M2M App-ID Registration Authority or non-registered.
Registered App-IDs shall be in the format: R{authority-ID}.{reverseDNS}.{applicationName}
The {reverseDNS} part shall be a string value following 'reverse DNS notation', which is constructed in the reverse order of domain name components (see IETF RFC 1035 [i.7])
Non-registered App-IDs shall be in the format: N{non-registered-App-ID}
EXAMPLES:
- Ra01.com.company.smartcity
- Nk836-t071-fc022
The format definitions of authority-ID, applicationName, and non-registered-App-ID are missing from this text. They are also not defined anywhere else, and also not in TS-0004 either.
An issue reported on the oneM2M public GitHub repository (see: https://github.com/oneM2M/Issues-Questions/issues/6) is asking for that definition.
Proposal
Add definitions for the missing format parts as follows (in bold):
App-ID is either registered with the M2M App-ID Registration Authority or non-registered.
Registered App-IDs shall be in the format: R{authority-ID}.{reverseDNS}.{applicationName}
The {reverseDNS} part shall be a string value following 'reverse DNS notation', which is constructed in the reverse order of domain name components (see IETF RFC 1035 [i.7])
Non-registered App-IDs shall be in the format: N{non-registered-App-ID}
{authority-ID}, {applicationName}, and {non-registered-App-ID} are sequences of characters that include any of the unreserved characters defined in clause 2.3 of the IETF RFC 3986 [18].
EXAMPLES:
- Ra01.com.company.smartcity
- Nk836-t071-fc022