Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
6daf4af
X12 0.4.0
Jul 23, 2020
13e0366
restlyer patch
Jul 23, 2020
c8bc64b
restlyer patch #2
Jul 23, 2020
a53aaa1
feat: X12 0.4.0 (#11)
Jul 23, 2020
79f0e30
fixng CRLF
Jul 23, 2020
48070ae
Merge branch 'x12-support'
Jul 23, 2020
9a25fdd
Restyled by shfmt
restyled-commits Jul 23, 2020
cef299d
Restyled by whitespace
restyled-commits Jul 23, 2020
151c404
Merge branch 'master' of https://github.com/freight-trust/protocol
Jul 23, 2020
92c96b3
Merge branch 'master' of https://github.com/freight-trust/protocol
Jul 23, 2020
80c6cef
Create myng-b3f-d7-a7-l1-p3ff-i7b-tf3f-q3-ef-s4f.rnc
Jul 23, 2020
4f2d72d
feat: rc-v0.1.5.0 (#17)
Jul 23, 2020
b252f21
rc2-v0.1.5 (#19)
Jul 23, 2020
ac6f40a
Update transportLegReference.yaml
Jul 24, 2020
ffcdb59
Update Intermodal_transportLegReference.yaml
Jul 24, 2020
11f0d61
feat: spec_trade (#21)
Jul 24, 2020
cf532da
Update README.md
Jul 24, 2020
e7115d3
update: spec (#14)
Jul 24, 2020
098beb1
Merge branch 'master' of https://github.com/freight-trust/protocol
Jul 24, 2020
ebef6fb
Delete Protocol.pdf
Jul 26, 2020
8c025da
feat: ACH/Fiat Direct Support (#22)
Jul 26, 2020
d8c4f01
Update README.md
Jul 26, 2020
1ac1b81
feat: mappings 0.1.6 (#24)
Jul 28, 2020
f2d8789
feat: Adversarial Pools (#25)
Jul 29, 2020
d912a26
refactor(defects): refactoring defects out
Jul 29, 2020
e01f16d
refactor(defects): refactoring defects out
Jul 29, 2020
4ad545b
Merge branch 'master' of https://github.com/freight-trust/protocol
Jul 29, 2020
a2275d3
cleaning up gh-pages
Jul 29, 2020
f9ce6be
Create index.html
Jul 29, 2020
fa5fb6e
remove symlink
Jul 29, 2020
ff60f95
feat(release version): v0.6.0+rc
Jul 31, 2020
0e7ab52
Restyled by prettier-yaml
restyled-commits Jul 31, 2020
5c2c5c7
feat(release version): v0.6.0+rc
Jul 31, 2020
c31f6a7
V0.6.0 (#30)
Jul 31, 2020
d227357
feat(v0.6.0+stable): stable release
Jul 31, 2020
f2e4941
Merge branch 'restyled/v0.6.0'
Jul 31, 2020
2301ae1
Merge branch 'master' of https://github.com/freight-trust/protocol
Jul 31, 2020
21708c7
rename
Jul 31, 2020
a9a0f49
Create kafka.json
Jul 31, 2020
c793c5c
asn spec
Aug 1, 2020
fffe953
chore(added novation): clearinghouse novation set
Aug 1, 2020
2a5caf9
Feature/libedi (#33)
Aug 3, 2020
84f924b
Feature/edizone (#35)
Aug 9, 2020
44f143c
[ImgBot] Optimize images (#34)
imgbot[bot] Aug 9, 2020
fde2c55
X12 update (#40)
Aug 11, 2020
164ab75
Merge branch 'master' of https://github.com/freight-trust/protocol
Aug 12, 2020
02d8d56
feat: protocol diagrams for mapping
Aug 12, 2020
2c8ea59
-DPLANTUML_LIMIT_SIZE=65536 -Xmx3072m
Aug 12, 2020
851894d
Create schema.edi.json
Aug 15, 2020
47dd6c4
X12 Meta EDI distillate
Aug 15, 2020
40eb957
Update ach.json
Aug 20, 2020
3f52aeb
Create parser-tokens.json
Aug 20, 2020
a3506c2
Create schema-commerical-invoice-810.json
Aug 22, 2020
4c5f9f0
Create validation_schema.json
Aug 9, 2020
d787c93
Create Cannonical_211_Mappings.json
Aug 24, 2020
2c25214
Rename BillOfLadingModel.json to Master_Agreement_BillofLading.json
Aug 24, 2020
13a213b
Create Edifact-JSON-ORDERS-PurchaseOrder.json
Sep 14, 2020
b0db80e
Merge branch 'master' of https://github.com/freight-trust/protocol
Sep 14, 2020
7cfa753
Create x12.schema.json
Sep 26, 2020
fea3a33
Update X12501_102.json
Sep 28, 2020
a6320bd
Update schema.codes.json
Sep 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@

_Interfaces/
_json/
node_modules
_dev
_DEV
_resources
_*
DEV/EDILib.js
*.pdf
.vscode/snipsnap.code-snippets
55 changes: 21 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,26 @@
<p align="center">
<img src="https://raw.githubusercontent.com/freight-trust/branding/master/static/logo-420.svg" alt="Freight Trust logo">
</p>

<h3 align="center">
Freight Trust
</h3>
<!-- Attribution-NonCommercial-NoDerivs 2.5 \*
<https://spdx.org/licenses/CC-BY-NC-ND-2.5.html> \* © 2020 FreightTrust
and Clearing Corporation \*/ = Clearing, Settlement and Delivery of
Trades & Orders -->

<p align="center">
Frieght Trust & Clearing Corporation
<img src="https://raw.githubusercontent.com/freight-trust/branding/90665e6efb31c1e22638937d083befeb9fd7fcc2/images/bundle/github_repo_card.svg">
</p>

<br>
<!-- Badges Start -->
<p align="center">
<a href="https://www.npmjs.org/package/Freight Trust-lib">
<img src="https://img.shields.io/github/license/freight-trust/omnibus" alt="MPL-2.0 License" />
</a>
<a href="https://circleci.com/gh/Freight Trust/Freight Trust-lib">
<img src="https://img.shields.io/github/commits-since/freight-trust/protocol/latest/master" alt="GitHub commits since latest release" />
</a>
<a href="https://circleci.com/gh/Freight Trust/Freight Trust-lib">
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="" />
</a>
<a href="https://twitter.com/intent/follow?screen_name=Freight Trust">
<img src="https://img.shields.io/twitter/url?label=%40FreightTrustNet&url=https%3A%2F%2Ftwitter.com%2Ffreighttrustnet" alt="Follow @Freight Trust" />
</a>
</p>
<img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/freighttrustnet?label=%40FreightTrustNet&style=social">
<img alt="Open Source License" src="https://img.shields.io/github/license/freight-trust/protocol?style=social">
<!-- Badges End -->

<br>
# Protocol Spec

For ABNF specs, [see the `spec_abnf` dir](https://github.com/freight-trust/protocol/tree/master/spec_abnf/abnf)

### interface-Supply-Chain
- directories with `spec_*` are the reference specification
- directories with `lib` or `module`/`component` _should_ be the technical implementation

### Interfaces

<img src="service-mesh.png"
alt="Freight Trust Network Interface"
Expand All @@ -44,20 +35,19 @@

<br />


### Legal Regimes (Burgess)

#### Concepts

- Units of Execution
- Units of Agreement
- Units of Afferent
- Units of Efferent
- Units of Lexigram


- Controlled Natural Language = Jurisdictional Grammar (see [Burgess](https://github.com/freight-trust/burgess) )
- Afferent = Towards
- Efferent = Away
* Controlled Natural Language = Jurisdictional Grammar (see [Burgess](https://github.com/freight-trust/burgess) )
* Afferent = Towards
* Efferent = Away

## Blocks as `units of agreement`

Expand All @@ -70,15 +60,12 @@ Rules
"x chains to y if x links to y."
"x chains to z if x links to y and y chains to z."


Facts are *primitives* (i.e. not containing variables) that apply
Facts are _primitives_ (i.e. not containing variables) that apply
a predicate to arguments

to Block1 followed by Block2 and
to Block2 followed by Block3

to Block2 followed by Block3

Rules are of the form `conclusion :- condition` (i.e. containing variables), with the Prolog-like (symbol) infix `":-"` corresponding to the above "if".

This consittutes the extent of which RuleML is applied to the `TradeDocs` system, a basic primitive set for `rule-conditions`

1 change: 1 addition & 0 deletions ROOT/32768.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ROOT/65536.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions ROOT/BOLWorkflow.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"type": "object",
"properties": {
"PRO": {
"type": "string",
"minimum": 0,
"maximum": 30,
"pattern": "gs1_spec"
},
"SCAC": {
"type": "string",
"maximum": null,
"maxLength": 5
},
"AgreementTerms": {
"format": "uri",
"type": "string",
"description": "pki",
"enum": ["notify", "notifyAll", "getClass", "finalize"]
},
"GoverningLaw": {
"enum": ["MASTER_AGREEMENT", "USCA", "USDE", "USIL", "USNY", "OTHER"],
"type": "string"
},
"Cosignee": {
"uniqueItems": null,
"type": "string",
"title": "Freight_Charges_Bill_To"
},
"CheckSum": {
"properties": null,
"type": "string",
"format": "uri",
"pattern": "BL-nnnnn-s"
},
"3rdParty": {
"type": "string",
"items": {
"enum": null,
"description": "Insurance"
},
"description": "insurance"
},
"BillOfLading": {
"type": "number",
"minimum": 16,
"additionalProperties": {
"format": null,
"type": "object",
"required": ["checksum_digit"]
}
},
"AssetClass": {
"enum": [null, null],
"type": "string",
"items": {
"enum": null,
"description": "Commodity"
}
},
"WorkFlow": {
"enum": [
"ACCEPTED",
"AFFIRMED",
"ALLEGED",
"AMENDED",
"CANCELLED",
"CERTAIN",
"CLEARED",
"CONFIRMED",
"PENDING",
"REJECTED",
"SUBMITTED",
"TERMINATED",
"UNCERTAIN",
"UNCONFIRMED"
],
"type": "string"
}
}
}
Loading