@bsv/dpp-profiles 0.3.0-beta.1

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.
Files changed (96) hide show
  1. package/LICENSE +58 -0
  2. package/README.md +64 -0
  3. package/dist/applicability.d.ts +96 -0
  4. package/dist/applicability.d.ts.map +1 -0
  5. package/dist/applicability.js +181 -0
  6. package/dist/applicability.js.map +1 -0
  7. package/dist/combinations.d.ts +30 -0
  8. package/dist/combinations.d.ts.map +1 -0
  9. package/dist/combinations.js +103 -0
  10. package/dist/combinations.js.map +1 -0
  11. package/dist/evidence-shapes.d.ts +198 -0
  12. package/dist/evidence-shapes.d.ts.map +1 -0
  13. package/dist/evidence-shapes.js +123 -0
  14. package/dist/evidence-shapes.js.map +1 -0
  15. package/dist/gs1-epc-binary.d.ts +81 -0
  16. package/dist/gs1-epc-binary.d.ts.map +1 -0
  17. package/dist/gs1-epc-binary.js +252 -0
  18. package/dist/gs1-epc-binary.js.map +1 -0
  19. package/dist/gs1-resolution.d.ts +392 -0
  20. package/dist/gs1-resolution.d.ts.map +1 -0
  21. package/dist/gs1-resolution.js +696 -0
  22. package/dist/gs1-resolution.js.map +1 -0
  23. package/dist/identifiers.d.ts +57 -0
  24. package/dist/identifiers.d.ts.map +1 -0
  25. package/dist/identifiers.js +117 -0
  26. package/dist/identifiers.js.map +1 -0
  27. package/dist/index.d.ts +235 -0
  28. package/dist/index.d.ts.map +1 -0
  29. package/dist/index.js +124 -0
  30. package/dist/index.js.map +1 -0
  31. package/dist/manifest-v2.d.ts +87 -0
  32. package/dist/manifest-v2.d.ts.map +1 -0
  33. package/dist/manifest-v2.js +31 -0
  34. package/dist/manifest-v2.js.map +1 -0
  35. package/dist/mapping.d.ts +84 -0
  36. package/dist/mapping.d.ts.map +1 -0
  37. package/dist/mapping.js +88 -0
  38. package/dist/mapping.js.map +1 -0
  39. package/dist/projections.d.ts +233 -0
  40. package/dist/projections.d.ts.map +1 -0
  41. package/dist/projections.js +466 -0
  42. package/dist/projections.js.map +1 -0
  43. package/frozen.json +42 -0
  44. package/generated/consumer/battery-v2.json +2248 -0
  45. package/generated/consumer/battery-v3.json +4354 -0
  46. package/generated/consumer/general-v1.json +9 -0
  47. package/generated/consumer/general-v2.json +714 -0
  48. package/generated/consumer/textile-v1.json +101 -0
  49. package/generated/consumer/textile-v2.json +1033 -0
  50. package/generated/consumer/textile-v3.json +2011 -0
  51. package/generated/index.json +86 -0
  52. package/generated/mapping/battery@2.md +116 -0
  53. package/generated/mapping/battery@3.md +130 -0
  54. package/generated/mapping/general@2.md +50 -0
  55. package/generated/mapping/textile@2.md +61 -0
  56. package/generated/mapping/textile@3.md +73 -0
  57. package/generated/payload-schema/battery@2.public.schema.json +609 -0
  58. package/generated/payload-schema/battery@2.restricted.schema.json +377 -0
  59. package/generated/payload-schema/battery@3.public.schema.json +1364 -0
  60. package/generated/payload-schema/battery@3.restricted.schema.json +1097 -0
  61. package/generated/payload-schema/general@1.public.schema.json +37 -0
  62. package/generated/payload-schema/general@1.restricted.schema.json +9 -0
  63. package/generated/payload-schema/general@2.public.schema.json +352 -0
  64. package/generated/payload-schema/general@2.restricted.schema.json +52 -0
  65. package/generated/payload-schema/textile@1.public.schema.json +82 -0
  66. package/generated/payload-schema/textile@1.restricted.schema.json +22 -0
  67. package/generated/payload-schema/textile@2.public.schema.json +464 -0
  68. package/generated/payload-schema/textile@2.restricted.schema.json +78 -0
  69. package/generated/payload-schema/textile@3.public.schema.json +1299 -0
  70. package/generated/payload-schema/textile@3.restricted.schema.json +78 -0
  71. package/manifests/battery@2.json +4047 -0
  72. package/manifests/battery@3.json +6164 -0
  73. package/manifests/exchange/untp-0.7.0-jose@1.json +191 -0
  74. package/manifests/exchange/vc-di-ecdsa-rdfc-2019@1.json +74 -0
  75. package/manifests/exchange/vsc-draft-compat@0.1.0.json +64 -0
  76. package/manifests/general@1.json +148 -0
  77. package/manifests/general@2.json +1266 -0
  78. package/manifests/interoperability/epcis-json@1.json +69 -0
  79. package/manifests/interoperability/epcis-vsc@1.json +64 -0
  80. package/manifests/interoperability/gs1-digital-link@1.json +71 -0
  81. package/manifests/operator/federated-operators@1.json +54 -0
  82. package/manifests/operator/single-operator@1.json +52 -0
  83. package/manifests/textile@1.json +383 -0
  84. package/manifests/textile@2.json +1682 -0
  85. package/manifests/textile@3.json +2763 -0
  86. package/package.json +59 -0
  87. package/schemas/exchange-profile.schema.json +134 -0
  88. package/schemas/gs1/NOTICE.md +11 -0
  89. package/schemas/gs1/resolver-description-file-schema-1.2.0.json +124 -0
  90. package/schemas/gs1/resolver-linkset-context-1.2.1.jsonld +39 -0
  91. package/schemas/gs1/resolver-linkset-schema-1.2.1.json +96 -0
  92. package/schemas/interoperability-profile.schema.json +347 -0
  93. package/schemas/operator-profile.schema.json +108 -0
  94. package/schemas/product-identity.schema.json +45 -0
  95. package/schemas/profile-manifest-v2.schema.json +1087 -0
  96. package/schemas/profile-manifest.schema.json +291 -0
@@ -0,0 +1,73 @@
1
+ # Field mapping inventory: textile@3
2
+
3
+ Generated from `manifests/textile@3.json` by the profiles generator. One row per declared field. The external semantic field is the manifest's semantic URI where one is recorded and `not mapped` otherwise; obligation and legal basis are separate columns because one is this profile's requirement and the other is the instrument that asks, or the statement that none does. `needs review` marks what no generator can decide: a conditional applicability, or the evidence a value needs. Nothing here is a legal conclusion, and no external exchange vocabulary is mapped until its artefacts are pinned.
4
+
5
+ Regulatory line: Mapped to the ESPR passport requirements (Reg. (EU) 2024/1781 Art. 9 and Annex III) and binding EU textile labelling law (Reg. (EU) 1007/2011), ready to absorb the textile delegated act when adopted.
6
+
7
+ - Applicability statement (enacted): Regulation (EU) 1007/2011 on textile fibre names and labelling is in force and is the source of the fibre composition and animal-origin declarations.
8
+ - Applicability statement (anticipated): The ESPR delegated act for textiles has not been adopted; fields whose permitted form waits on it say so and state no list or pattern.
9
+ - Applicability statement (anticipated): The Commission's textile and apparel product passport page, retrieved 6 September 2026, gives the textile delegated act an indicative adoption in the fourth quarter of 2027; every ESPR parameter field is anticipated until it is adopted, and its permitted form is not guessed.
10
+ - Applicability statement (needs-review): This profile's alignment with the draft data requirements is under review.
11
+
12
+ | Key | Label | External semantic field | Type, unit, list | Granularity | Obligation | Legal basis | Applicability | Access tier | Captured by | Evidence required | Requirement status |
13
+ |---|---|---|---|---|---|---|---|---|---|---|---|
14
+ | name | Product name | not mapped | text | model | required | ESPR Annex III(a); the passport has to say what the product is | always | public | the registering maker, at registration | needs review | enacted: eu-espr Annex III(a) |
15
+ | category | Kind of product | not mapped | enum, open list (4) | model | required | ESPR Art. 4; the parameters that apply depend on what the product is | always | public | the registering maker, at registration | needs review | enacted: eu-espr Article 4 |
16
+ | modelIdentifier | Model or style reference | not mapped | id | model | required | ESPR Annex III(b): the unique product identifier is model-level | always | public | the registering maker, at registration | needs review | enacted: eu-espr Annex III(b) |
17
+ | batch | Batch | not mapped | id | batch | required | ESPR Annex III(b); Reg. 1007/2011 traceability of a labelled lot | always | public | the registering maker, at registration | needs review | enacted: eu-espr Annex III(b); Regulation (EU) 1007/2011 |
18
+ | gtin | Article number (GTIN) | not mapped | id | model | recommended | ESPR Annex III(c): commodity and trade item codes where they exist | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex III(c) |
19
+ | manufacturer | Brand name | not mapped | text | model | required | ESPR Annex III(e); Reg. 1007/2011 Art. 15 identifies the responsible operator | always | public | the brand record, supplied once | needs review | enacted: eu-1007-2011 Article 15; ESPR Annex III(e) |
20
+ | manufacturerContact | Brand contact | not mapped | text | model | required | ESPR Annex III(e): the operator has to be reachable, not merely named | always | public | the brand record, supplied once | needs review | enacted: eu-espr Annex III(e) |
21
+ | operatorId | EU operator identifier | not mapped | id | model | recommended | ESPR Annex III(e) | always | public | not captured yet | needs review | anticipated: eu-espr Annex III(e) |
22
+ | manufacturingPlace | Where it was made | not mapped | record | model | required | Reg. 1007/2011 Art. 16 read with the Union Customs Code origin rules | always | public | the registering maker, at registration | needs review | enacted: eu-1007-2011 Article 16, read with the Union Customs Code |
23
+ | made | Made | not mapped | monthYear | batch | recommended | ESPR Annex I(a): a durability claim is meaningless without a start date | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(a) |
24
+ | colour | Colour | not mapped | text | model | recommended | Nothing requires this. It identifies the item to the person holding it. | always | public | the registering maker, at registration | needs review | none: profile addition |
25
+ | size | Size | not mapped | text | item | recommended | Nothing requires this. It is what makes a passport match the garment in hand. | always | public | the registering maker, at registration | needs review | none: profile addition |
26
+ | weight | Weight | not mapped | decimal, in g | model | recommended | ESPR Annex I(l): resource use, and the basis of every per-mass figure below | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(l) |
27
+ | fibres | Fibre composition | not mapped | record | model | required | Reg. (EU) 1007/2011 Art. 5, 9 and 14: binding today, by weight, in descending order | always | public | the registering maker, at registration | needs review | enacted: eu-1007-2011 Articles 5, 9 and 14 |
28
+ | nonTextileParts | Non-textile parts of animal origin | not mapped | text | model | required | Reg. (EU) 1007/2011 Art. 12: mandatory where such parts are present | needs review: the product contains non-textile parts of animal origin | public | the registering maker, at registration | needs review | enacted: eu-1007-2011 Article 12 |
29
+ | recycledContent | Recycled content | not mapped | percent, in % | model | recommended | ESPR Annex I(g): recycled content is a named parameter; the threshold waits on the act | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(g) |
30
+ | biobasedContent | Bio-based content | not mapped | percent, in % | model | optional | Nothing requires this. Declared where a brand can substantiate it. | always | public | the registering maker, at registration | needs review | none: profile addition |
31
+ | trims | Trims and hardware | not mapped | record | model | recommended | ESPR Annex I(d) and (n): what separates for repair, and what separates for recycling | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(d); Annex I(n) |
32
+ | substancesOfConcern | Substances of concern | not mapped | record | model | required | ESPR Art. 7(5): substances of concern must be traceable through the passport | needs review: a substance of concern is present above the threshold the act will set | public | the registering maker, at registration | needs review | anticipated: eu-espr Article 7(5) |
33
+ | substanceStatement | What that means for you | not mapped | text | model | recommended | ESPR Art. 9(2)(b): passport information shall be complete and comprehensible | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Article 9(2)(b) |
34
+ | chemicalCompliance | Chemical compliance evidence | not mapped | document | model | recommended | REACH Art. 33 read with ESPR Annex III(d): compliance documentation | always | legitimate | the registering maker, at registration | the referenced document, hashed | enacted: reach-1907-2006 Article 33 |
35
+ | microplasticRelease | Microplastic release | not mapped | text | model | optional | ESPR Annex I(k); the method is not yet fixed | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(k) |
36
+ | care | Care | not mapped | multi, closed list (13) | model | required | ISO 3758 care symbols; Dir. (EU) 2024/825 Art. 2 on durability information | always | public | the registering maker, at registration | needs review | enacted: eu-2024-825 Article 2; ISO 3758 care symbols |
37
+ | careNote | How to make it last | not mapped | text | model | recommended | ESPR Annex I(a): extending lifetime is the parameter; this is how | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(a) |
38
+ | expectedLifetime | Expected lifetime | not mapped | integer, in years | model | recommended | ESPR Annex I(a) and Dir. (EU) 2024/825: a durability claim must be substantiated | always | public | the registering maker, at registration | needs review | enacted: eu-2024-825 Article 2 |
39
+ | washCycles | Tested to | not mapped | integer, in wash cycles | model | recommended | ESPR Annex I(b) reliability, tested per ISO 6330 domestic washing procedures | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(b) |
40
+ | colourFastness | Colour fastness | not mapped | decimal, in grade | model | recommended | ESPR Annex I(b), graded 1-5 per the ISO 105 series | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(b) |
41
+ | dimensionalStability | Dimensional change after washing | not mapped | decimal, in % | model | recommended | ESPR Annex I(b), measured per ISO 5077 | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(b) |
42
+ | pillingResistance | Pilling resistance | not mapped | decimal, in grade | model | recommended | ESPR Annex I(b), graded 1-5 per ISO 12945 | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(b) |
43
+ | guarantee | Guarantee | not mapped | integer, in months | model | recommended | Dir. (EU) 2024/825: a commercial guarantee of durability must state its term | always | public | the registering maker, at registration | needs review | enacted: eu-2024-825 Article 2 |
44
+ | repairability | Repairability | not mapped | text | model | recommended | ESPR Annex I(c) and Art. 7(2)(b)(iii) | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(c); Article 7(2)(b)(iii) |
45
+ | spareParts | Spare parts | not mapped | text | model | recommended | ESPR Annex I(d): availability of spare parts is a named parameter | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(d) |
46
+ | repairInstructions | Repair instructions | not mapped | document | model | recommended | ESPR Annex I(e): access to repair information | always | public | the registering maker, at registration | the referenced document, hashed | anticipated: eu-espr Annex I(e) |
47
+ | repairServices | Where to get it repaired | not mapped | url | model | recommended | Dir. (EU) 2024/825 recital 22: repair should be the visible option | always | public | the registering maker, at registration | needs review | needs-review: eu-2024-825 recital 22 |
48
+ | carbonFootprint | Carbon footprint | not mapped | decimal, in kg CO₂e | model | recommended | ESPR Annex I(m), computed per the Apparel and Footwear PEFCR | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(m) |
49
+ | carbonFootprintStudy | The study behind the figure | not mapped | document | model | recommended | ESPR Art. 9(2)(b): a figure a reader cannot check is not information | always | public | the registering maker, at registration | the referenced document, hashed | anticipated: eu-espr Article 9(2)(b) |
50
+ | footprintClass | Environmental footprint class | not mapped | text | model | recommended | ESPR Art. 7(4) | always | public | not captured yet | needs review | anticipated: eu-espr Article 7(4) |
51
+ | waterUse | Water use | not mapped | decimal, in m³ | model | optional | ESPR Annex I(l): resource use. Declared where a brand has measured it. | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(l) |
52
+ | collection | Where to return it | not mapped | text | model | required | Waste Framework Directive: separate collection of textiles since 1 January 2025 | always | public | the registering maker, at registration | needs review | enacted: eu-2008-98 Article 11(1) as amended: separate collection of textiles |
53
+ | recyclability | How it can be recycled | not mapped | text | model | recommended | ESPR Annex I(n): expected generation of waste materials | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(n) |
54
+ | separability | What comes apart | not mapped | text | model | recommended | ESPR Annex I(h) and (i): ease of disassembly, for reuse and recycling | always | legitimate | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(h); Annex I(i) |
55
+ | eprRegistration | Producer responsibility registration | not mapped | id | model | recommended | Waste Framework Directive textile EPR: the producer register number | always | authority | the brand record, supplied once | needs review | anticipated: eu-2008-98 textile extended producer responsibility as amended |
56
+ | supplyChain | Supply chain | not mapped | record | model | recommended | ESPR Annex III(f): unique facility identifiers, at the stages that have them | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex III(f) |
57
+ | certifications | Independent certification | not mapped | multi, open list (7) | model | recommended | Dir. (EU) 2024/825 Art. 2: a sustainability label needs a certification behind it | always | public | the registering maker, at registration | needs review | enacted: eu-2024-825 Article 2 |
58
+ | dueDiligence | Due diligence report | not mapped | document | model | recommended | Dir. (EU) 2024/1760 corporate sustainability due diligence, where in scope | always | legitimate | the registering maker, at registration | the referenced document, hashed | anticipated: eu-2024-1760 Directive (EU) 2024/1760 |
59
+ | provenance | Provenance | not mapped | text | item | optional | Nothing requires this. It is the owner tier the selective-disclosure demo turns on. | always | owner | the registering maker, at registration | needs review | none: profile addition |
60
+ | purchase | Purchased | not mapped | text | item | optional | Nothing requires this. It is what makes the record theirs. | always | owner | the party acting in the lifecycle event | the event record and its signer | none: profile addition |
61
+ | personalisation | Alterations and fit | not mapped | text | item | optional | Nothing requires this. An altered garment is a different garment to its owner. | always | owner | the party acting in the lifecycle event | the event record and its signer | none: profile addition |
62
+ | warrantyRegistration | Guarantee registration | not mapped | id | item | optional | Nothing requires this. It saves the owner keeping a receipt. | always | owner | the registering maker, at registration | needs review | none: profile addition |
63
+ | components | Components | not mapped | record | model | recommended | ESPR Annex III and Annex I: composition and evidence at the level of the component the delegated act may name | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex III; Annex I |
64
+ | componentFibres | Fibre composition per component | not mapped | record | model | recommended | Regulation (EU) 1007/2011 Articles 5, 9 and 14 read per component; ESPR Annex I | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I |
65
+ | recycledContentAssessment | Recycled content, assessed | not mapped | measurement, in % | model | optional | ESPR Annex I(g): recycled content with its method, basis and boundary | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(g) |
66
+ | certificationEvidence | Certification evidence | not mapped | certification | model | optional | Dir. (EU) 2024/825 Art. 2: the certification behind a sustainability label, as evidence | always | public | the registering maker, at registration | needs review | enacted: eu-2024-825 Article 2 |
67
+ | relatedDocuments | Related documents | not mapped | relatedDocument | model | optional | none: documents a value points at, with their access policy and, where retained, their digest | always | public | the registering maker, at registration | needs review | none: profile addition |
68
+ | microfibreReleaseAssessment | Microfibre release, assessed | not mapped | measurement | model | optional | ESPR Annex I(k): microplastic and microfibre release, by a named method | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(k) |
69
+ | repairabilityAssessment | Repairability, assessed | not mapped | measurement | model | optional | ESPR Annex I(c) and Art. 7(2)(b)(iii): a repairability assessment under a named method | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(c); Article 7(2)(b)(iii) |
70
+ | warrantyTerms | Commercial guarantee terms | not mapped | warrantyTerms | model | optional | Dir. (EU) 2024/825: a commercial guarantee of durability states its term and what it counts from | always | public | the registering maker, at registration | needs review | enacted: eu-2024-825 Article 2 |
71
+ | careNoteLocalised | Care note, by language | not mapped | localisedText | model | optional | ESPR Annex I(a): care information as the maker supplied it in each language | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Annex I(a) |
72
+ | substanceStatementLocalised | Substance statement, by language | not mapped | localisedText | model | optional | ESPR Art. 9(2)(b): the substance statement in each language it was supplied in | always | public | the registering maker, at registration | needs review | anticipated: eu-espr Article 9(2)(b) |
73
+ | inapplicableFields | Declared inapplicable fields | not mapped | record | model | optional | none: the profile's own declaration by which a record says that a conditional field does not apply to it, with the reason | always | public | the registering maker, at registration | needs review | none: profile addition |