@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,101 @@
1
+ {
2
+ "id": "textile",
3
+ "version": 1,
4
+ "profile": "textile@1",
5
+ "status": "superseded by textile@2, and still served: passports published under it declare this version and are never rewritten",
6
+ "regulatoryLine": "Aligned with the JRC draft data requirements and binding EU textile labelling law (Reg. (EU) 1007/2011), ready to absorb the ESPR delegated act when adopted.",
7
+ "supersededBy": "textile@2",
8
+ "fields": [
9
+ {
10
+ "key": "name",
11
+ "label": "Product name",
12
+ "obligation": "must",
13
+ "access": "public",
14
+ "source": "product"
15
+ },
16
+ {
17
+ "key": "batch",
18
+ "label": "Batch",
19
+ "obligation": "must",
20
+ "access": "public",
21
+ "source": "product"
22
+ },
23
+ {
24
+ "key": "fibres",
25
+ "label": "Fibre composition",
26
+ "obligation": "must",
27
+ "access": "public",
28
+ "source": "product"
29
+ },
30
+ {
31
+ "key": "manufacturer",
32
+ "label": "Brand name",
33
+ "obligation": "must",
34
+ "access": "public",
35
+ "source": "brand"
36
+ },
37
+ {
38
+ "key": "manufacturerContact",
39
+ "label": "Brand contact",
40
+ "obligation": "must",
41
+ "access": "public",
42
+ "source": "brand"
43
+ },
44
+ {
45
+ "key": "recycled",
46
+ "label": "Recycled content",
47
+ "obligation": "should",
48
+ "access": "public",
49
+ "source": "product"
50
+ },
51
+ {
52
+ "key": "origin",
53
+ "label": "Country of origin",
54
+ "obligation": "should",
55
+ "access": "public",
56
+ "source": "product"
57
+ },
58
+ {
59
+ "key": "care",
60
+ "label": "Care",
61
+ "obligation": "should",
62
+ "access": "public",
63
+ "source": "product"
64
+ },
65
+ {
66
+ "key": "substances",
67
+ "label": "Substances of concern",
68
+ "obligation": "should",
69
+ "access": "public",
70
+ "source": "product"
71
+ },
72
+ {
73
+ "key": "endOfLife",
74
+ "label": "End of life",
75
+ "obligation": "should",
76
+ "access": "public",
77
+ "source": "product"
78
+ },
79
+ {
80
+ "key": "provenance",
81
+ "label": "Provenance",
82
+ "obligation": "nice",
83
+ "access": "owner",
84
+ "source": "product"
85
+ },
86
+ {
87
+ "key": "warranty",
88
+ "label": "Warranty",
89
+ "obligation": "nice",
90
+ "access": "owner",
91
+ "source": "product"
92
+ },
93
+ {
94
+ "key": "personalisation",
95
+ "label": "Personalisation",
96
+ "obligation": "nice",
97
+ "access": "owner",
98
+ "source": "product"
99
+ }
100
+ ]
101
+ }