Skip to content

Commit 23859be

Browse files
authored
chore(docs): align protocol namespace (#5)
1 parent 579e14d commit 23859be

20 files changed

+71
-71
lines changed

SPECIFICATION.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,13 @@ This subsection defines the smallest interoperable flow required for lab-only de
170170
All payloads MUST include `@context`, `@type`, and `schema_version` set to `0.1.1`.
171171

172172
- **MaterialDNA**
173-
Schema: `https://loop-protocol.org/schemas/v0.1.1/material-dna.schema.json`
173+
Schema: `https://local-loop-io.github.io/projects/loop-protocol/schemas/v0.1.1/material-dna.schema.json`
174174
- **Offer**
175-
Schema: `https://loop-protocol.org/schemas/v0.1.1/offer.schema.json`
175+
Schema: `https://local-loop-io.github.io/projects/loop-protocol/schemas/v0.1.1/offer.schema.json`
176176
- **Match**
177-
Schema: `https://loop-protocol.org/schemas/v0.1.1/match.schema.json`
177+
Schema: `https://local-loop-io.github.io/projects/loop-protocol/schemas/v0.1.1/match.schema.json`
178178
- **Transfer**
179-
Schema: `https://loop-protocol.org/schemas/v0.1.1/transfer.schema.json`
179+
Schema: `https://local-loop-io.github.io/projects/loop-protocol/schemas/v0.1.1/transfer.schema.json`
180180

181181
#### Data minimization
182182

@@ -211,7 +211,7 @@ DE-MUC-2025-PLASTIC-B847F3
211211

212212
```json
213213
{
214-
"@context": "https://loop-protocol.org/v0.1.1",
214+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v0.1.1",
215215
"@type": "MaterialDNA",
216216
"schema_version": "0.1.1",
217217
"id": "DE-MUC-2025-PLASTIC-B847F3",
@@ -310,7 +310,7 @@ Each node's LoopCoin configuration:
310310

311311
```json
312312
{
313-
"@context": "https://loop-protocol.org/v1",
313+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
314314
"@type": "LoopCoinConfig",
315315
"issuer": "munich.loop",
316316
"currency_code": "LC-MUC",
@@ -329,7 +329,7 @@ Each node's LoopCoin configuration:
329329

330330
```json
331331
{
332-
"@context": "https://loop-protocol.org/v1",
332+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
333333
"@type": "LoopCoinTransfer",
334334
"id": "550e8400-e29b-41d4-a716-446655440000",
335335
"from": "user:maria@munich.loop",
@@ -349,7 +349,7 @@ When LoopCoins cross node boundaries:
349349

350350
```json
351351
{
352-
"@context": "https://loop-protocol.org/v1",
352+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
353353
"@type": "InterNodeSettlement",
354354
"from_node": "munich.loop",
355355
"to_node": "berlin.loop",
@@ -383,7 +383,7 @@ Community preferences for material categories:
383383

384384
```json
385385
{
386-
"@context": "https://loop-protocol.org/v1",
386+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
387387
"@type": "LoopSignalConfig",
388388
"node": "munich.loop",
389389
"signals": {
@@ -417,7 +417,7 @@ Community preferences for material categories:
417417

418418
```json
419419
{
420-
"@context": "https://loop-protocol.org/v1",
420+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
421421
"@type": "LoopVote",
422422
"node": "munich.loop",
423423
"vote_id": "2025-05-plastic-increase",
@@ -542,7 +542,7 @@ Content-Type: application/ld+json
542542
Authorization: Bearer {token}
543543
544544
{
545-
"@context": "https://loop-protocol.org/v1",
545+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
546546
"@type": "MaterialDNA",
547547
"id": "DE-MUC-2025-PLASTIC-B847F3",
548548
"category": "plastic-pet",
@@ -552,7 +552,7 @@ Authorization: Bearer {token}
552552
553553
Response: 201 Created
554554
{
555-
"@context": "https://loop-protocol.org/v1",
555+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
556556
"@type": "MaterialDNA",
557557
"id": "DE-MUC-2025-PLASTIC-B847F3",
558558
"status": "registered",
@@ -567,7 +567,7 @@ GET /api/v1/material/DE-MUC-2025-PLASTIC-B847F3
567567
568568
Response: 200 OK
569569
{
570-
"@context": "https://loop-protocol.org/v1",
570+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
571571
"@type": "MaterialDNA",
572572
"id": "DE-MUC-2025-PLASTIC-B847F3",
573573
...
@@ -604,7 +604,7 @@ GET /api/v1/node/info
604604
605605
Response: 200 OK
606606
{
607-
"@context": "https://loop-protocol.org/v1",
607+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
608608
"@type": "NodeInfo",
609609
"id": "munich.loop",
610610
"name": "Munich LOOP Node",
@@ -627,7 +627,7 @@ GET /api/v1/signals
627627
628628
Response: 200 OK
629629
{
630-
"@context": "https://loop-protocol.org/v1",
630+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
631631
"@type": "LoopSignalConfig",
632632
"node": "munich.loop",
633633
"signals": {
@@ -649,7 +649,7 @@ Content-Type: application/ld+json
649649
Authorization: Bearer {token}
650650
651651
{
652-
"@context": "https://loop-protocol.org/v1",
652+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
653653
"@type": "MaterialTransaction",
654654
"id": "TXN-2025-05-27-001",
655655
"material": "DE-MUC-2025-PLASTIC-B847F3",
@@ -664,7 +664,7 @@ Authorization: Bearer {token}
664664
665665
Response: 201 Created
666666
{
667-
"@context": "https://loop-protocol.org/v1",
667+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
668668
"@type": "TransactionStatus",
669669
"transaction_id": "TXN-2025-05-27-001",
670670
"status": "pending",
@@ -684,7 +684,7 @@ POST /api/v1/federate/announce
684684
X-Node-Signature: {signature}
685685
686686
{
687-
"@context": "https://loop-protocol.org/v1",
687+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
688688
"@type": "MaterialAnnouncement",
689689
"material": "DE-MUC-2025-PLASTIC-B847F3",
690690
"origin": "munich.loop",
@@ -699,7 +699,7 @@ POST /api/v1/federate/offer
699699
X-Node-Signature: {signature}
700700
701701
{
702-
"@context": "https://loop-protocol.org/v1",
702+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
703703
"@type": "MaterialOffer",
704704
"material": "DE-MUC-2025-PLASTIC-B847F3",
705705
"from": "berlin.loop",
@@ -745,7 +745,7 @@ Nodes maintain a registry of peers:
745745

746746
```json
747747
{
748-
"@context": "https://loop-protocol.org/v1",
748+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
749749
"@type": "NodeRegistry",
750750
"version": "2025-05-27",
751751
"nodes": [
@@ -875,7 +875,7 @@ Test suite MUST cover:
875875
```json
876876
POST munich.loop/api/v1/material
877877
{
878-
"@context": "https://loop-protocol.org/v1",
878+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
879879
"@type": "MaterialDNA",
880880
"id": "DE-MUC-2025-FOOD-B847F3",
881881
"category": "organic-food",
@@ -892,7 +892,7 @@ POST munich.loop/api/v1/material
892892

893893
Response:
894894
{
895-
"@context": "https://loop-protocol.org/v1",
895+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
896896
"@type": "MaterialDNA",
897897
"id": "DE-MUC-2025-FOOD-B847F3",
898898
"status": "registered"
@@ -904,7 +904,7 @@ Response:
904904
```json
905905
POST vienna.loop/api/v1/federate/announce
906906
{
907-
"@context": "https://loop-protocol.org/v1",
907+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
908908
"@type": "MaterialAnnouncement",
909909
"material": "DE-MUC-2025-FOOD-B847F3",
910910
"origin": "munich.loop",
@@ -929,7 +929,7 @@ Total LoopCost: 104 LC
929929
```json
930930
POST munich.loop/api/v1/federate/offer
931931
{
932-
"@context": "https://loop-protocol.org/v1",
932+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
933933
"@type": "MaterialOffer",
934934
"material": "DE-MUC-2025-FOOD-B847F3",
935935
"from": "vienna.loop",
@@ -958,7 +958,7 @@ POST munich.loop/api/v1/federate/offer
958958
```json
959959
// Proposal
960960
{
961-
"@context": "https://loop-protocol.org/v1",
961+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
962962
"@type": "SignalProposal",
963963
"node": "munich.loop",
964964
"changes": [
@@ -975,7 +975,7 @@ POST munich.loop/api/v1/federate/offer
975975

976976
// Vote result
977977
{
978-
"@context": "https://loop-protocol.org/v1",
978+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
979979
"@type": "LoopVote",
980980
"node": "munich.loop",
981981
"vote_id": "2025-06-plastic-increase",
@@ -1050,7 +1050,7 @@ Goal: Submit to standards body (W3C, IETF) after v1.0
10501050
{
10511051
"@context": {
10521052
"@version": 1.1,
1053-
"loop": "https://loop-protocol.org/v1/",
1053+
"loop": "https://local-loop-io.github.io/projects/loop-protocol/v1/",
10541054
"schema": "https://schema.org/",
10551055
"MaterialDNA": "loop:MaterialDNA",
10561056
"LoopCoin": "loop:LoopCoin",

examples/01-material-registration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"@context": "https://loop-protocol.org/v0.1.1",
2+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v0.1.1",
33
"@type": "MaterialDNA",
44
"schema_version": "0.1.1",
55
"id": "DE-MUC-2025-PLASTIC-B847F3",

examples/02-loopcoin-transfer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"@context": "https://loop-protocol.org/v1",
2+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
33
"@type": "LoopCoinTransfer",
44
"id": "550e8400-e29b-41d4-a716-446655440000",
55
"from": "user:maria@munich.loop",

examples/03-signal-voting.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"@context": "https://loop-protocol.org/v1",
2+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
33
"@type": "LoopVote",
44
"node": "munich.loop",
55
"vote_id": "2025-06-plastic-increase",

examples/04-cross-city-trade.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"@context": "https://loop-protocol.org/v1",
2+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
33
"@type": "MaterialTransaction",
44
"id": "TXN-2025-05-27-001",
55
"material": "DE-MUC-2025-PLASTIC-B847F3",

examples/05-complete-flow.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"@context": "https://loop-protocol.org/v0.1.1",
3+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v0.1.1",
44
"@type": "MaterialDNA",
55
"schema_version": "0.1.1",
66
"id": "DE-MUC-2025-FOOD-B847F3",
@@ -20,7 +20,7 @@
2020
"expires": "2025-05-30T08:00:00Z"
2121
},
2222
{
23-
"@context": "https://loop-protocol.org/v1",
23+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
2424
"@type": "LoopSignalConfig",
2525
"node": "munich.loop",
2626
"signals": {
@@ -32,7 +32,7 @@
3232
"valid_until": "2025-06-30T23:59:59Z"
3333
},
3434
{
35-
"@context": "https://loop-protocol.org/v1",
35+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
3636
"@type": "LoopCoinConfig",
3737
"issuer": "munich.loop",
3838
"currency_code": "LC-MUC",
@@ -41,7 +41,7 @@
4141
"expiry_months": 6
4242
},
4343
{
44-
"@context": "https://loop-protocol.org/v1",
44+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
4545
"@type": "MaterialTransaction",
4646
"id": "TXN-2025-05-27-002",
4747
"material": "DE-MUC-2025-FOOD-B847F3",
@@ -60,7 +60,7 @@
6060
"status": "confirmed"
6161
},
6262
{
63-
"@context": "https://loop-protocol.org/v1",
63+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
6464
"@type": "Settlement",
6565
"transaction_id": "TXN-2025-05-27-002",
6666
"material": "DE-MUC-2025-FOOD-B847F3",
@@ -76,14 +76,14 @@
7676
"settled_at": "2025-05-27T11:00:00Z"
7777
},
7878
{
79-
"@context": "https://loop-protocol.org/v1",
79+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
8080
"@type": "TransactionStatus",
8181
"transaction_id": "TXN-2025-05-27-002",
8282
"status": "completed",
8383
"updated_at": "2025-05-27T11:00:00Z"
8484
},
8585
{
86-
"@context": "https://loop-protocol.org/v1",
86+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
8787
"@type": "NodeInfo",
8888
"id": "munich.loop",
8989
"name": "Munich LOOP Node",
@@ -98,7 +98,7 @@
9898
"endpoint": "https://munich.loop/api/v1"
9999
},
100100
{
101-
"@context": "https://loop-protocol.org/v1",
101+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v1",
102102
"@type": "NodeRegistry",
103103
"version": "2025-05-27",
104104
"nodes": [

examples/06-offer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"@context": "https://loop-protocol.org/v0.1.1",
2+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v0.1.1",
33
"@type": "Offer",
44
"schema_version": "0.1.1",
55
"id": "OFR-2F7A6B9C",

examples/07-match.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"@context": "https://loop-protocol.org/v0.1.1",
2+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v0.1.1",
33
"@type": "Match",
44
"schema_version": "0.1.1",
55
"id": "MCH-9B3C8A12",

examples/08-transfer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"@context": "https://loop-protocol.org/v0.1.1",
2+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v0.1.1",
33
"@type": "Transfer",
44
"schema_version": "0.1.1",
55
"id": "TRF-5D8A23F1",

examples/09-handshake-request.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"@context": "https://loop-protocol.org/v0.1.1",
2+
"@context": "https://local-loop-io.github.io/projects/loop-protocol/v0.1.1",
33
"@type": "NodeHandshake",
44
"schema_version": "0.1.1",
55
"node_id": "munich.loop",

0 commit comments

Comments
 (0)