TSDUPD Timetable static data update (D11B)
This is the standard EDIFACT D11B spec, with 8 loops and 41 segment positions, as OpenEDI JSON, an ediFabric C# template and an ediFabric Native model. To change it for a trading partner, customize it in the EDI Spec Builder.
Use the TSDUPD spec in your code
ediFabric .NET
Add the C# template and its common files to your project, or reference the template NuGet package, and read TSDUPD files into TSTSDUPD objects. See ediFabric .NET.
ediFabric Native
Native supports X12 today, and EDIFACT is coming. When it's available, map version D11B to this Native model with set_map to parse TSDUPD files to JSON from Python, Java, C or C#. See ediFabric Native.
OpenEDI
Select Customize in Spec Builder to copy the spec under your own name, change it for your partner, and parse files against it in EdiNation, ediFabric Native or ediFabric Cloud. Read about OpenEDI.
Generate TSDUPD classes in Python, Java, Node.js, Go, Rust or C
The OpenEDI file describes each TSDUPD as JSON. To work with TSDUPD data as typed objects, generate classes from the OpenEDI file in your language; the root class is TSTSDUPD. The classes keep the loops, segments, lengths and code lists, but not the EDI data formats. Read more in Generate a class from OpenEDI.
Python: datamodel-code-generator. Node.js: openapi-typescript. Java, Go, Rust and C: OpenAPI Generator.
TSDUPD structure
Loops and segments of the standard TSDUPD, with their usage and maximum repeats.
| ID | Name | Usage | Max use |
|---|---|---|---|
| UIH | UIH | Mandatory | 1 |
| MSD | MSD | Mandatory | 1 |
| ORG | ORG | Optional | 1 |
| HDR | HDR | Optional | 1 |
| IFT | IFT | Optional | 9 |
| RFR | RFR | Optional | 1 |
| CNY | CNY | Optional | 1 |
| TIZ | TIZ | Optional | 1 |
| LNG | LNG | Optional | 1 |
| Loop ERI | ERI | Optional | 99 |
| ERI | ERI | Mandatory | 1 |
| RFR | RFR | Optional | 1 |
| IFT | IFT | Optional | 1 |
| Loop ALS | ALS | Optional | 99999 |
| ALS | ALS | Mandatory | 1 |
| ADS | ADS | Optional | 1 |
| POP | POP | Optional | 9 |
| CON | CON | Optional | 1 |
| TRF | TRF | Optional | 1 |
| CNY | CNY | Optional | 1 |
| TIZ | TIZ | Optional | 1 |
| LNG | LNG | Optional | 1 |
| SER | SER | Optional | 1 |
| IFT | IFT | Optional | 9 |
| Loop ASD | ASD | Optional | 99 |
| ASD | ASD | Mandatory | 1 |
| CON | CON | Optional | 1 |
| Loop PRD | PRD | Optional | 99 |
| PRD | PRD | Mandatory | 1 |
| SER | SER | Optional | 1 |
| FRQ | FRQ | Optional | 1 |
| IFT | IFT | Optional | 1 |
| POR | POR | Optional | 1 |
| Loop RFR | RFR | Optional | 99 |
| RFR | RFR | Mandatory | 1 |
| MES | MES | Optional | 1 |
| RLS | RLS | Optional | 1 |
| Loop PRD | PRD | Optional | 99 |
| PRD | PRD | Mandatory | 1 |
| POP | POP | Optional | 1 |
| SER | SER | Optional | 1 |
| Loop NME | NME | Optional | 99 |
| NME | NME | Mandatory | 1 |
| ADS | ADS | Optional | 1 |
| CON | CON | Optional | 1 |
| Loop RFR | RFR | Optional | 99 |
| RFR | RFR | Mandatory | 1 |
| RLS | RLS | Optional | 1 |
| UIT | UIT | Mandatory | 1 |