8.1 File naming convention
All files that make up a Sales/Usage Report shall be named in accordance with the following syntax:
DSR_MessageRecipient_MessageSender_ServiceDescription_MessageNotificationPeriod_TerritoryOfUseOrSale_xofy_MessageCreatedDateTime.ext
The following defines what each element of the syntax means.
| The party name or DDEX Party ID (DPID) of the licensor. The This data shall be the same as the data conveyed in the DDEX Party IDs do not contain special characters (including dashes). |
| The party name or DDEX Party ID (DPID) of the licensee or, where appropriate, the entity on behalf of whom the Sales/Usage Report is sent. This data shall be the same as the data conveyed in the The DDEX Party IDs do not contain special characters (including dashes). |
| A description of the service name (e.g. a service tier) to be reported on. Multiple tiers can be communicated by separating them with dashes (Unicode U+2010). This data shall be the same as the data conveyed in the |
| The reporting period covered by the Sales/Usage Report in accordance with ISO 8601:2004. The only allowed syntaxes are:
|
| The territory(ies) for which the sales and/or usage data in the Sales/Usage Report are reported. The |
| The file counter. For example, the 7th file of a 9-file Sales/Usage Report would be 7of9. This element may be omitted when the Sales/Usage Report is contained in a single file. |
| The date and time on which the Sales/Usage Report was created. The only allowed format is the full basic zero-padded ISO 8601 format without a time zone designator with optional milliseconds: |
| The file extension, to be When the file is compressed, for example with gzip, the extension should indicate this and may be |
The following constraints apply in respect of the elements of the file naming syntax:
None of the file name elements may contain an underscore character;
None of the file name elements may contain a space character;
When a file name element is to be omitted, the two underscore characters to the left and right follow each other immediately (for example,
TerritoryOfUseOrSale__MessageCreatedDateTime
);
Other file naming conventions may be agreed between the licensor and the licensee (specifically for testing).