@celigo/api-specs 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/filedefinition.yml +30 -0
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/filedefinition.yml
CHANGED
|
@@ -578,8 +578,38 @@ components:
|
|
|
578
578
|
profile, e.g. `{{{ediProfile.isa01}}}` or
|
|
579
579
|
`{{{ediProfile.tpInterchangeId}}}`.
|
|
580
580
|
|
|
581
|
+
The linked EDI profile's fields resolve under
|
|
582
|
+
`ediProfile.*`. X12 profiles: `isa01`, `isa02`, `isa03`,
|
|
583
|
+
`isa04`, `tpIdQualifier`, `tpInterchangeId`, `myIdQualifier`,
|
|
584
|
+
`myInterchangeId`, `isa11`, `isa12`, `isa14`, `isa15`,
|
|
585
|
+
`isa16`, `tpGroupId`, `myGroupId`, `gs07`, `gs08`. EDIFACT
|
|
586
|
+
profiles: `unb010_0001`, `unb010_0002`, `tpIdQualifier`,
|
|
587
|
+
`myIdQualifier`, `tpInterchangeId`, `myInterchangeId`,
|
|
588
|
+
`versionNumber`, `releaseNumber`, `controllingAgency`. Both
|
|
589
|
+
standards also expose the profile's `name`, `description`,
|
|
590
|
+
`fileType`, and `controlNumber` (the rolling interchange
|
|
591
|
+
control number — for generate-direction control-number
|
|
592
|
+
positions such as ISA13). There are no `isa05`–`isa08`
|
|
593
|
+
keys: the sender/receiver qualifier and ID positions bind to
|
|
594
|
+
`tpIdQualifier` / `tpInterchangeId` / `myIdQualifier` /
|
|
595
|
+
`myInterchangeId` (`tp*` is the trading partner's identity,
|
|
596
|
+
`my*` is yours — which pair lands in ISA05/06 vs ISA07/08
|
|
597
|
+
depends on who sends the document). Field meanings are
|
|
598
|
+
documented in the EDI Profiles spec.
|
|
599
|
+
|
|
581
600
|
Use triple-stash (`{{{...}}}`) to avoid HTML escaping for
|
|
582
601
|
EDI control characters.
|
|
602
|
+
x-celigo-ai-guidance:
|
|
603
|
+
- |-
|
|
604
|
+
Never extrapolate positional profile keys: ISA05-ISA08 have no
|
|
605
|
+
isaNN key — bind them to tpIdQualifier, tpInterchangeId,
|
|
606
|
+
myIdQualifier, myInterchangeId, choosing the tp*/my* pair by
|
|
607
|
+
document direction (tp* = trading partner's identity).
|
|
608
|
+
- |-
|
|
609
|
+
A referenceValue naming a key outside the profile's field set
|
|
610
|
+
saves without error but fails at parse/preview time with
|
|
611
|
+
"Handlebar expression pattern is incorrect. Please correct it
|
|
612
|
+
to an appropriate pattern for : <key>".
|
|
583
613
|
examples:
|
|
584
614
|
- '{{{ediProfile.isa01}}}'
|
|
585
615
|
- '{{{ediProfile.tpInterchangeId}}}'
|
package/package.json
CHANGED