@uncefact/untp-utils 0.1.0 → 0.3.0

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 (389) hide show
  1. package/README.md +52 -2
  2. package/artefacts/context/untp/0.6.0/dcc.json +1241 -0
  3. package/artefacts/context/untp/0.6.0/dfr.json +619 -0
  4. package/artefacts/context/untp/0.6.0/dia.json +162 -0
  5. package/artefacts/context/untp/0.6.0/dpp.json +1078 -0
  6. package/artefacts/context/untp/0.6.0/dte.json +1285 -0
  7. package/artefacts/context/untp/0.6.1/dcc.json +1388 -0
  8. package/artefacts/context/untp/0.6.1/dfr.json +690 -0
  9. package/artefacts/context/untp/0.6.1/dia.json +196 -0
  10. package/artefacts/context/untp/0.6.1/dpp.json +1164 -0
  11. package/artefacts/context/untp/0.6.1/dte.json +1340 -0
  12. package/artefacts/context/untp/0.7.0/untp.json +3493 -0
  13. package/artefacts/context/vcdm/2/credentials.json +301 -0
  14. package/artefacts/manifest.json +214 -0
  15. package/artefacts/schema/untp/0.6.0/dcc.json +1131 -0
  16. package/artefacts/schema/untp/0.6.0/dfr.json +1028 -0
  17. package/artefacts/schema/untp/0.6.0/dia.json +236 -0
  18. package/artefacts/schema/untp/0.6.0/dpp.json +1219 -0
  19. package/artefacts/schema/untp/0.6.0/dte.json +845 -0
  20. package/artefacts/schema/untp/0.6.1/dcc.json +1196 -0
  21. package/artefacts/schema/untp/0.6.1/dfr.json +1037 -0
  22. package/artefacts/schema/untp/0.6.1/dia.json +236 -0
  23. package/artefacts/schema/untp/0.6.1/dpp.json +1229 -0
  24. package/artefacts/schema/untp/0.6.1/dte.json +845 -0
  25. package/artefacts/schema/untp/0.7.0/cvc.json +701 -0
  26. package/artefacts/schema/untp/0.7.0/dcc.json +1133 -0
  27. package/artefacts/schema/untp/0.7.0/dfr.json +1245 -0
  28. package/artefacts/schema/untp/0.7.0/dia.json +443 -0
  29. package/artefacts/schema/untp/0.7.0/dpp.json +1300 -0
  30. package/artefacts/schema/untp/0.7.0/dte.json +1226 -0
  31. package/artefacts/schema/untp/0.7.0/linkset.json +119 -0
  32. package/artefacts/schema/vcdm/2/verifiable-credential.json +318 -0
  33. package/build/artefacts/detect-version-from-context.d.ts +46 -0
  34. package/build/artefacts/detect-version-from-context.js +77 -0
  35. package/build/artefacts/detect-version-from-context.js.map +1 -0
  36. package/build/artefacts/detect-version-from-context.test.d.ts +1 -0
  37. package/build/artefacts/detect-version-from-context.test.js +69 -0
  38. package/build/artefacts/detect-version-from-context.test.js.map +1 -0
  39. package/build/artefacts/index.d.ts +3 -0
  40. package/build/artefacts/index.js +4 -0
  41. package/build/artefacts/index.js.map +1 -0
  42. package/build/artefacts/urls.d.ts +85 -0
  43. package/build/artefacts/urls.js +141 -0
  44. package/build/artefacts/urls.js.map +1 -0
  45. package/build/artefacts/urls.test.d.ts +1 -0
  46. package/build/artefacts/urls.test.js +99 -0
  47. package/build/artefacts/urls.test.js.map +1 -0
  48. package/build/artefacts/version.d.ts +9 -0
  49. package/build/artefacts/version.js +17 -0
  50. package/build/artefacts/version.js.map +1 -0
  51. package/build/artefacts/version.test.d.ts +1 -0
  52. package/build/artefacts/version.test.js +16 -0
  53. package/build/artefacts/version.test.js.map +1 -0
  54. package/build/bundle/artefacts/context/untp/0.6.0/dcc.d.ts +2 -0
  55. package/build/bundle/artefacts/context/untp/0.6.0/dcc.js +1244 -0
  56. package/build/bundle/artefacts/context/untp/0.6.0/dcc.js.map +1 -0
  57. package/build/bundle/artefacts/context/untp/0.6.0/dfr.d.ts +2 -0
  58. package/build/bundle/artefacts/context/untp/0.6.0/dfr.js +622 -0
  59. package/build/bundle/artefacts/context/untp/0.6.0/dfr.js.map +1 -0
  60. package/build/bundle/artefacts/context/untp/0.6.0/dia.d.ts +2 -0
  61. package/build/bundle/artefacts/context/untp/0.6.0/dia.js +165 -0
  62. package/build/bundle/artefacts/context/untp/0.6.0/dia.js.map +1 -0
  63. package/build/bundle/artefacts/context/untp/0.6.0/dpp.d.ts +2 -0
  64. package/build/bundle/artefacts/context/untp/0.6.0/dpp.js +1081 -0
  65. package/build/bundle/artefacts/context/untp/0.6.0/dpp.js.map +1 -0
  66. package/build/bundle/artefacts/context/untp/0.6.0/dte.d.ts +2 -0
  67. package/build/bundle/artefacts/context/untp/0.6.0/dte.js +1288 -0
  68. package/build/bundle/artefacts/context/untp/0.6.0/dte.js.map +1 -0
  69. package/build/bundle/artefacts/context/untp/0.6.1/dcc.d.ts +2 -0
  70. package/build/bundle/artefacts/context/untp/0.6.1/dcc.js +1391 -0
  71. package/build/bundle/artefacts/context/untp/0.6.1/dcc.js.map +1 -0
  72. package/build/bundle/artefacts/context/untp/0.6.1/dfr.d.ts +2 -0
  73. package/build/bundle/artefacts/context/untp/0.6.1/dfr.js +693 -0
  74. package/build/bundle/artefacts/context/untp/0.6.1/dfr.js.map +1 -0
  75. package/build/bundle/artefacts/context/untp/0.6.1/dia.d.ts +2 -0
  76. package/build/bundle/artefacts/context/untp/0.6.1/dia.js +199 -0
  77. package/build/bundle/artefacts/context/untp/0.6.1/dia.js.map +1 -0
  78. package/build/bundle/artefacts/context/untp/0.6.1/dpp.d.ts +2 -0
  79. package/build/bundle/artefacts/context/untp/0.6.1/dpp.js +1167 -0
  80. package/build/bundle/artefacts/context/untp/0.6.1/dpp.js.map +1 -0
  81. package/build/bundle/artefacts/context/untp/0.6.1/dte.d.ts +2 -0
  82. package/build/bundle/artefacts/context/untp/0.6.1/dte.js +1343 -0
  83. package/build/bundle/artefacts/context/untp/0.6.1/dte.js.map +1 -0
  84. package/build/bundle/artefacts/context/untp/0.7.0/untp.d.ts +2 -0
  85. package/build/bundle/artefacts/context/untp/0.7.0/untp.js +3496 -0
  86. package/build/bundle/artefacts/context/untp/0.7.0/untp.js.map +1 -0
  87. package/build/bundle/artefacts/context/vcdm/2/credentials.d.ts +2 -0
  88. package/build/bundle/artefacts/context/vcdm/2/credentials.js +304 -0
  89. package/build/bundle/artefacts/context/vcdm/2/credentials.js.map +1 -0
  90. package/build/bundle/artefacts/schema/untp/0.6.0/dcc.d.ts +2 -0
  91. package/build/bundle/artefacts/schema/untp/0.6.0/dcc.js +1134 -0
  92. package/build/bundle/artefacts/schema/untp/0.6.0/dcc.js.map +1 -0
  93. package/build/bundle/artefacts/schema/untp/0.6.0/dfr.d.ts +2 -0
  94. package/build/bundle/artefacts/schema/untp/0.6.0/dfr.js +1031 -0
  95. package/build/bundle/artefacts/schema/untp/0.6.0/dfr.js.map +1 -0
  96. package/build/bundle/artefacts/schema/untp/0.6.0/dia.d.ts +2 -0
  97. package/build/bundle/artefacts/schema/untp/0.6.0/dia.js +239 -0
  98. package/build/bundle/artefacts/schema/untp/0.6.0/dia.js.map +1 -0
  99. package/build/bundle/artefacts/schema/untp/0.6.0/dpp.d.ts +2 -0
  100. package/build/bundle/artefacts/schema/untp/0.6.0/dpp.js +1222 -0
  101. package/build/bundle/artefacts/schema/untp/0.6.0/dpp.js.map +1 -0
  102. package/build/bundle/artefacts/schema/untp/0.6.0/dte.d.ts +2 -0
  103. package/build/bundle/artefacts/schema/untp/0.6.0/dte.js +848 -0
  104. package/build/bundle/artefacts/schema/untp/0.6.0/dte.js.map +1 -0
  105. package/build/bundle/artefacts/schema/untp/0.6.1/dcc.d.ts +2 -0
  106. package/build/bundle/artefacts/schema/untp/0.6.1/dcc.js +1199 -0
  107. package/build/bundle/artefacts/schema/untp/0.6.1/dcc.js.map +1 -0
  108. package/build/bundle/artefacts/schema/untp/0.6.1/dfr.d.ts +2 -0
  109. package/build/bundle/artefacts/schema/untp/0.6.1/dfr.js +1040 -0
  110. package/build/bundle/artefacts/schema/untp/0.6.1/dfr.js.map +1 -0
  111. package/build/bundle/artefacts/schema/untp/0.6.1/dia.d.ts +2 -0
  112. package/build/bundle/artefacts/schema/untp/0.6.1/dia.js +239 -0
  113. package/build/bundle/artefacts/schema/untp/0.6.1/dia.js.map +1 -0
  114. package/build/bundle/artefacts/schema/untp/0.6.1/dpp.d.ts +2 -0
  115. package/build/bundle/artefacts/schema/untp/0.6.1/dpp.js +1232 -0
  116. package/build/bundle/artefacts/schema/untp/0.6.1/dpp.js.map +1 -0
  117. package/build/bundle/artefacts/schema/untp/0.6.1/dte.d.ts +2 -0
  118. package/build/bundle/artefacts/schema/untp/0.6.1/dte.js +848 -0
  119. package/build/bundle/artefacts/schema/untp/0.6.1/dte.js.map +1 -0
  120. package/build/bundle/artefacts/schema/untp/0.7.0/cvc.d.ts +2 -0
  121. package/build/bundle/artefacts/schema/untp/0.7.0/cvc.js +704 -0
  122. package/build/bundle/artefacts/schema/untp/0.7.0/cvc.js.map +1 -0
  123. package/build/bundle/artefacts/schema/untp/0.7.0/dcc.d.ts +2 -0
  124. package/build/bundle/artefacts/schema/untp/0.7.0/dcc.js +1136 -0
  125. package/build/bundle/artefacts/schema/untp/0.7.0/dcc.js.map +1 -0
  126. package/build/bundle/artefacts/schema/untp/0.7.0/dfr.d.ts +2 -0
  127. package/build/bundle/artefacts/schema/untp/0.7.0/dfr.js +1248 -0
  128. package/build/bundle/artefacts/schema/untp/0.7.0/dfr.js.map +1 -0
  129. package/build/bundle/artefacts/schema/untp/0.7.0/dia.d.ts +2 -0
  130. package/build/bundle/artefacts/schema/untp/0.7.0/dia.js +446 -0
  131. package/build/bundle/artefacts/schema/untp/0.7.0/dia.js.map +1 -0
  132. package/build/bundle/artefacts/schema/untp/0.7.0/dpp.d.ts +2 -0
  133. package/build/bundle/artefacts/schema/untp/0.7.0/dpp.js +1303 -0
  134. package/build/bundle/artefacts/schema/untp/0.7.0/dpp.js.map +1 -0
  135. package/build/bundle/artefacts/schema/untp/0.7.0/dte.d.ts +2 -0
  136. package/build/bundle/artefacts/schema/untp/0.7.0/dte.js +1229 -0
  137. package/build/bundle/artefacts/schema/untp/0.7.0/dte.js.map +1 -0
  138. package/build/bundle/artefacts/schema/untp/0.7.0/linkset.d.ts +2 -0
  139. package/build/bundle/artefacts/schema/untp/0.7.0/linkset.js +122 -0
  140. package/build/bundle/artefacts/schema/untp/0.7.0/linkset.js.map +1 -0
  141. package/build/bundle/artefacts/schema/vcdm/2/verifiable-credential.d.ts +2 -0
  142. package/build/bundle/artefacts/schema/vcdm/2/verifiable-credential.js +321 -0
  143. package/build/bundle/artefacts/schema/vcdm/2/verifiable-credential.js.map +1 -0
  144. package/build/bundle/fallback.d.ts +41 -0
  145. package/build/bundle/fallback.js +62 -0
  146. package/build/bundle/fallback.js.map +1 -0
  147. package/build/bundle/fallback.test.d.ts +1 -0
  148. package/build/bundle/fallback.test.js +124 -0
  149. package/build/bundle/fallback.test.js.map +1 -0
  150. package/build/bundle/index.d.ts +4 -0
  151. package/build/bundle/index.js +77 -0
  152. package/build/bundle/index.js.map +1 -0
  153. package/build/bundle/lookup.d.ts +14 -0
  154. package/build/bundle/lookup.js +40 -0
  155. package/build/bundle/lookup.js.map +1 -0
  156. package/build/bundle/lookup.test.d.ts +1 -0
  157. package/build/bundle/lookup.test.js +70 -0
  158. package/build/bundle/lookup.test.js.map +1 -0
  159. package/build/bundle/public.d.ts +25 -0
  160. package/build/bundle/public.js +56 -0
  161. package/build/bundle/public.js.map +1 -0
  162. package/build/bundle/public.test.d.ts +1 -0
  163. package/build/bundle/public.test.js +35 -0
  164. package/build/bundle/public.test.js.map +1 -0
  165. package/build/bundle/refresh-classify.test.d.ts +1 -0
  166. package/build/bundle/refresh-classify.test.js +20 -0
  167. package/build/bundle/refresh-classify.test.js.map +1 -0
  168. package/build/bundle/refresh-main.test.d.ts +1 -0
  169. package/build/bundle/refresh-main.test.js +98 -0
  170. package/build/bundle/refresh-main.test.js.map +1 -0
  171. package/build/cache/in-memory-ttl-cache.d.ts +2 -0
  172. package/build/cache/in-memory-ttl-cache.js +76 -0
  173. package/build/cache/in-memory-ttl-cache.js.map +1 -0
  174. package/build/cache/in-memory-ttl-cache.test.d.ts +1 -0
  175. package/build/cache/in-memory-ttl-cache.test.js +236 -0
  176. package/build/cache/in-memory-ttl-cache.test.js.map +1 -0
  177. package/build/cache/index.d.ts +2 -0
  178. package/build/cache/index.js +2 -0
  179. package/build/cache/index.js.map +1 -0
  180. package/build/cache/ttl-cache.d.ts +22 -0
  181. package/build/cache/ttl-cache.js +2 -0
  182. package/build/cache/ttl-cache.js.map +1 -0
  183. package/build/common/as-date-time.d.ts +13 -0
  184. package/build/common/as-date-time.js +44 -0
  185. package/build/common/as-date-time.js.map +1 -0
  186. package/build/common/as-date-time.test.d.ts +1 -0
  187. package/build/common/as-date-time.test.js +42 -0
  188. package/build/common/as-date-time.test.js.map +1 -0
  189. package/build/common/as-non-empty-string.d.ts +14 -0
  190. package/build/common/as-non-empty-string.js +20 -0
  191. package/build/common/as-non-empty-string.js.map +1 -0
  192. package/build/common/as-non-empty-string.test.d.ts +1 -0
  193. package/build/common/as-non-empty-string.test.js +30 -0
  194. package/build/common/as-non-empty-string.test.js.map +1 -0
  195. package/build/common/index.d.ts +4 -0
  196. package/build/common/index.js +5 -0
  197. package/build/common/index.js.map +1 -0
  198. package/build/common/require-string.d.ts +12 -0
  199. package/build/common/require-string.js +27 -0
  200. package/build/common/require-string.js.map +1 -0
  201. package/build/common/require-string.test.d.ts +1 -0
  202. package/build/common/require-string.test.js +53 -0
  203. package/build/common/require-string.test.js.map +1 -0
  204. package/build/common/validity-window.d.ts +45 -0
  205. package/build/common/validity-window.js +68 -0
  206. package/build/common/validity-window.js.map +1 -0
  207. package/build/common/validity-window.test.d.ts +1 -0
  208. package/build/common/validity-window.test.js +67 -0
  209. package/build/common/validity-window.test.js.map +1 -0
  210. package/build/conformity-vocabulary/codes.d.ts +10 -0
  211. package/build/conformity-vocabulary/codes.js +10 -0
  212. package/build/conformity-vocabulary/codes.js.map +1 -0
  213. package/build/conformity-vocabulary/errors.d.ts +44 -0
  214. package/build/conformity-vocabulary/errors.js +68 -0
  215. package/build/conformity-vocabulary/errors.js.map +1 -0
  216. package/build/conformity-vocabulary/index.d.ts +6 -0
  217. package/build/conformity-vocabulary/index.js +7 -0
  218. package/build/conformity-vocabulary/index.js.map +1 -0
  219. package/build/conformity-vocabulary/parse-conformity-catalogue.d.ts +26 -0
  220. package/build/conformity-vocabulary/parse-conformity-catalogue.js +106 -0
  221. package/build/conformity-vocabulary/parse-conformity-catalogue.js.map +1 -0
  222. package/build/conformity-vocabulary/parse-conformity-catalogue.test.d.ts +1 -0
  223. package/build/conformity-vocabulary/parse-conformity-catalogue.test.js +327 -0
  224. package/build/conformity-vocabulary/parse-conformity-catalogue.test.js.map +1 -0
  225. package/build/conformity-vocabulary/parse-conformity-scheme.d.ts +28 -0
  226. package/build/conformity-vocabulary/parse-conformity-scheme.js +47 -0
  227. package/build/conformity-vocabulary/parse-conformity-scheme.js.map +1 -0
  228. package/build/conformity-vocabulary/parse-conformity-scheme.test.d.ts +1 -0
  229. package/build/conformity-vocabulary/parse-conformity-scheme.test.js +284 -0
  230. package/build/conformity-vocabulary/parse-conformity-scheme.test.js.map +1 -0
  231. package/build/conformity-vocabulary/parsers/v0-7-0.parser.d.ts +19 -0
  232. package/build/conformity-vocabulary/parsers/v0-7-0.parser.js +219 -0
  233. package/build/conformity-vocabulary/parsers/v0-7-0.parser.js.map +1 -0
  234. package/build/conformity-vocabulary/types.d.ts +180 -0
  235. package/build/conformity-vocabulary/types.js +2 -0
  236. package/build/conformity-vocabulary/types.js.map +1 -0
  237. package/build/conformity-vocabulary/validate-conformity-claim.d.ts +26 -0
  238. package/build/conformity-vocabulary/validate-conformity-claim.js +165 -0
  239. package/build/conformity-vocabulary/validate-conformity-claim.js.map +1 -0
  240. package/build/conformity-vocabulary/validate-conformity-claim.test.d.ts +1 -0
  241. package/build/conformity-vocabulary/validate-conformity-claim.test.js +478 -0
  242. package/build/conformity-vocabulary/validate-conformity-claim.test.js.map +1 -0
  243. package/build/http-headers/index.d.ts +5 -0
  244. package/build/http-headers/index.js +6 -0
  245. package/build/http-headers/index.js.map +1 -0
  246. package/build/http-headers/is-safe-header-value.d.ts +10 -0
  247. package/build/http-headers/is-safe-header-value.js +15 -0
  248. package/build/http-headers/is-safe-header-value.js.map +1 -0
  249. package/build/http-headers/is-safe-header-value.test.d.ts +1 -0
  250. package/build/http-headers/is-safe-header-value.test.js +37 -0
  251. package/build/http-headers/is-safe-header-value.test.js.map +1 -0
  252. package/build/http-headers/parse-entity-tag.d.ts +9 -0
  253. package/build/http-headers/parse-entity-tag.js +18 -0
  254. package/build/http-headers/parse-entity-tag.js.map +1 -0
  255. package/build/http-headers/parse-entity-tag.test.d.ts +1 -0
  256. package/build/http-headers/parse-entity-tag.test.js +41 -0
  257. package/build/http-headers/parse-entity-tag.test.js.map +1 -0
  258. package/build/http-headers/parse-imf-date.d.ts +13 -0
  259. package/build/http-headers/parse-imf-date.js +23 -0
  260. package/build/http-headers/parse-imf-date.js.map +1 -0
  261. package/build/http-headers/parse-imf-date.test.d.ts +1 -0
  262. package/build/http-headers/parse-imf-date.test.js +31 -0
  263. package/build/http-headers/parse-imf-date.test.js.map +1 -0
  264. package/build/http-headers/parse-media-type.d.ts +8 -0
  265. package/build/http-headers/parse-media-type.js +21 -0
  266. package/build/http-headers/parse-media-type.js.map +1 -0
  267. package/build/http-headers/parse-media-type.test.d.ts +1 -0
  268. package/build/http-headers/parse-media-type.test.js +39 -0
  269. package/build/http-headers/parse-media-type.test.js.map +1 -0
  270. package/build/http-headers/user-agent.d.ts +35 -0
  271. package/build/http-headers/user-agent.js +45 -0
  272. package/build/http-headers/user-agent.js.map +1 -0
  273. package/build/http-headers/user-agent.test.d.ts +1 -0
  274. package/build/http-headers/user-agent.test.js +27 -0
  275. package/build/http-headers/user-agent.test.js.map +1 -0
  276. package/build/index.d.ts +1 -1
  277. package/build/index.js +1 -1
  278. package/build/index.js.map +1 -1
  279. package/build/loaders/errors.d.ts +21 -0
  280. package/build/loaders/errors.js +45 -0
  281. package/build/loaders/errors.js.map +1 -0
  282. package/build/loaders/index.d.ts +5 -0
  283. package/build/loaders/index.js +5 -0
  284. package/build/loaders/index.js.map +1 -0
  285. package/build/loaders/jsonld-document-loader.d.ts +48 -0
  286. package/build/loaders/jsonld-document-loader.js +43 -0
  287. package/build/loaders/jsonld-document-loader.js.map +1 -0
  288. package/build/loaders/jsonld-document-loader.test.d.ts +1 -0
  289. package/build/loaders/jsonld-document-loader.test.js +111 -0
  290. package/build/loaders/jsonld-document-loader.test.js.map +1 -0
  291. package/build/loaders/schema-loader.d.ts +31 -0
  292. package/build/loaders/schema-loader.js +83 -0
  293. package/build/loaders/schema-loader.js.map +1 -0
  294. package/build/loaders/schema-loader.ssrf.test.d.ts +1 -0
  295. package/build/loaders/schema-loader.ssrf.test.js +55 -0
  296. package/build/loaders/schema-loader.ssrf.test.js.map +1 -0
  297. package/build/loaders/schema-loader.test.d.ts +1 -0
  298. package/build/loaders/schema-loader.test.js +217 -0
  299. package/build/loaders/schema-loader.test.js.map +1 -0
  300. package/build/multibase-digest/multibase-digest.d.ts +23 -0
  301. package/build/multibase-digest/multibase-digest.js +40 -0
  302. package/build/multibase-digest/multibase-digest.js.map +1 -1
  303. package/build/multibase-digest/multibase-digest.test.js +46 -0
  304. package/build/multibase-digest/multibase-digest.test.js.map +1 -1
  305. package/build/node/errors.d.ts +47 -0
  306. package/build/node/errors.js +86 -0
  307. package/build/node/errors.js.map +1 -0
  308. package/build/node/index.d.ts +3 -0
  309. package/build/node/index.js +4 -0
  310. package/build/node/index.js.map +1 -0
  311. package/build/node/is-private-ip.d.ts +45 -0
  312. package/build/node/is-private-ip.fail-closed.test.d.ts +1 -0
  313. package/build/node/is-private-ip.fail-closed.test.js +36 -0
  314. package/build/node/is-private-ip.fail-closed.test.js.map +1 -0
  315. package/build/node/is-private-ip.js +203 -0
  316. package/build/node/is-private-ip.js.map +1 -0
  317. package/build/node/is-private-ip.test.d.ts +1 -0
  318. package/build/node/is-private-ip.test.js +124 -0
  319. package/build/node/is-private-ip.test.js.map +1 -0
  320. package/build/node/validate-public-url.d.ts +81 -0
  321. package/build/node/validate-public-url.js +128 -0
  322. package/build/node/validate-public-url.js.map +1 -0
  323. package/build/node/validate-public-url.test.d.ts +1 -0
  324. package/build/node/validate-public-url.test.js +324 -0
  325. package/build/node/validate-public-url.test.js.map +1 -0
  326. package/build/resolvers/errors.d.ts +73 -0
  327. package/build/resolvers/errors.js +133 -0
  328. package/build/resolvers/errors.js.map +1 -0
  329. package/build/resolvers/index.d.ts +5 -0
  330. package/build/resolvers/index.js +6 -0
  331. package/build/resolvers/index.js.map +1 -0
  332. package/build/resolvers/resolve-document-if-changed.d.ts +48 -0
  333. package/build/resolvers/resolve-document-if-changed.js +42 -0
  334. package/build/resolvers/resolve-document-if-changed.js.map +1 -0
  335. package/build/resolvers/resolve-document-if-changed.test.d.ts +1 -0
  336. package/build/resolvers/resolve-document-if-changed.test.js +116 -0
  337. package/build/resolvers/resolve-document-if-changed.test.js.map +1 -0
  338. package/build/resolvers/resolve-document.d.ts +106 -0
  339. package/build/resolvers/resolve-document.integration.test.d.ts +1 -0
  340. package/build/resolvers/resolve-document.integration.test.js +108 -0
  341. package/build/resolvers/resolve-document.integration.test.js.map +1 -0
  342. package/build/resolvers/resolve-document.js +319 -0
  343. package/build/resolvers/resolve-document.js.map +1 -0
  344. package/build/resolvers/resolve-document.test.d.ts +1 -0
  345. package/build/resolvers/resolve-document.test.js +749 -0
  346. package/build/resolvers/resolve-document.test.js.map +1 -0
  347. package/build/resolvers/resolve-json-document.d.ts +43 -0
  348. package/build/resolvers/resolve-json-document.js +43 -0
  349. package/build/resolvers/resolve-json-document.js.map +1 -0
  350. package/build/resolvers/resolve-json-document.test.d.ts +1 -0
  351. package/build/resolvers/resolve-json-document.test.js +78 -0
  352. package/build/resolvers/resolve-json-document.test.js.map +1 -0
  353. package/build/structured-error.d.ts +49 -0
  354. package/build/structured-error.js +17 -0
  355. package/build/structured-error.js.map +1 -0
  356. package/build/structured-error.test.d.ts +1 -0
  357. package/build/structured-error.test.js +112 -0
  358. package/build/structured-error.test.js.map +1 -0
  359. package/build/validation/describe-jsonld-failure.d.ts +90 -0
  360. package/build/validation/describe-jsonld-failure.js +171 -0
  361. package/build/validation/describe-jsonld-failure.js.map +1 -0
  362. package/build/validation/describe-jsonld-failure.test.d.ts +1 -0
  363. package/build/validation/describe-jsonld-failure.test.js +226 -0
  364. package/build/validation/describe-jsonld-failure.test.js.map +1 -0
  365. package/build/validation/errors.d.ts +40 -0
  366. package/build/validation/errors.js +75 -0
  367. package/build/validation/errors.js.map +1 -0
  368. package/build/validation/index.d.ts +5 -0
  369. package/build/validation/index.js +5 -0
  370. package/build/validation/index.js.map +1 -0
  371. package/build/validation/validate-against-schemas.d.ts +22 -0
  372. package/build/validation/validate-against-schemas.js +65 -0
  373. package/build/validation/validate-against-schemas.js.map +1 -0
  374. package/build/validation/validate-against-schemas.test.d.ts +1 -0
  375. package/build/validation/validate-against-schemas.test.js +169 -0
  376. package/build/validation/validate-against-schemas.test.js.map +1 -0
  377. package/build/validation/validate-jsonld.context-cache.test.d.ts +1 -0
  378. package/build/validation/validate-jsonld.context-cache.test.js +32 -0
  379. package/build/validation/validate-jsonld.context-cache.test.js.map +1 -0
  380. package/build/validation/validate-jsonld.d.ts +59 -0
  381. package/build/validation/validate-jsonld.js +126 -0
  382. package/build/validation/validate-jsonld.js.map +1 -0
  383. package/build/validation/validate-jsonld.ssrf.test.d.ts +1 -0
  384. package/build/validation/validate-jsonld.ssrf.test.js +108 -0
  385. package/build/validation/validate-jsonld.ssrf.test.js.map +1 -0
  386. package/build/validation/validate-jsonld.test.d.ts +1 -0
  387. package/build/validation/validate-jsonld.test.js +257 -0
  388. package/build/validation/validate-jsonld.test.js.map +1 -0
  389. package/package.json +86 -5
@@ -0,0 +1,1391 @@
1
+ // Generated by scripts/refresh-artefacts.mjs from context/untp/0.6.1/dcc.json. Do not edit by hand.
2
+ const artefact = {
3
+ "@context": {
4
+ "untp-dcc": "https://test.uncefact.org/vocabulary/untp/dcc/0/",
5
+ "schemaorg": "https://schema.org/",
6
+ "untp-core": "https://test.uncefact.org/vocabulary/untp/core/0/",
7
+ "geojson": "https://purl.org/geojson/vocab#",
8
+ "renderMethodPrefix": "https://w3id.org/vc/render-method#",
9
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
10
+ "@protected": true,
11
+ "@version": 1.1,
12
+ "DigitalConformityCredential": {
13
+ "@protected": true,
14
+ "@id": "untp-dcc:DigitalConformityCredential"
15
+ },
16
+ "IdentifierScheme": {
17
+ "@protected": true,
18
+ "@id": "untp-core:IdentifierScheme",
19
+ "@context": {
20
+ "@protected": true,
21
+ "name": {
22
+ "@id": "schemaorg:name"
23
+ }
24
+ }
25
+ },
26
+ "Classification": {
27
+ "@protected": true,
28
+ "@id": "untp-core:Classification",
29
+ "@context": {
30
+ "@protected": true,
31
+ "code": {
32
+ "@id": "untp-core:code",
33
+ "@type": "xsd:string"
34
+ },
35
+ "name": {
36
+ "@id": "schemaorg:name"
37
+ },
38
+ "schemeID": {
39
+ "@id": "untp-core:schemeID",
40
+ "@type": "xsd:string"
41
+ },
42
+ "schemeName": {
43
+ "@id": "untp-core:schemeName",
44
+ "@type": "xsd:string"
45
+ }
46
+ }
47
+ },
48
+ "Party": {
49
+ "@protected": true,
50
+ "@id": "untp-core:Party",
51
+ "@context": {
52
+ "@protected": true,
53
+ "name": {
54
+ "@id": "schemaorg:name"
55
+ },
56
+ "registeredId": {
57
+ "@id": "untp-core:registeredId",
58
+ "@type": "xsd:string"
59
+ },
60
+ "idScheme": {
61
+ "@id": "untp-core:idScheme",
62
+ "@type": "@id"
63
+ },
64
+ "description": {
65
+ "@id": "schemaorg:description"
66
+ },
67
+ "registrationCountry": {
68
+ "@id": "untp-core:registrationCountry",
69
+ "@type": "@vocab",
70
+ "@context": {
71
+ "@protected": true,
72
+ "@vocab": "https://vocabulary.uncefact.org/CountryId#"
73
+ }
74
+ },
75
+ "organisationWebsite": {
76
+ "@id": "untp-core:organisationWebsite",
77
+ "@type": "xsd:string"
78
+ },
79
+ "industryCategory": {
80
+ "@id": "untp-core:industryCategory",
81
+ "@type": "@id"
82
+ },
83
+ "partyAlsoKnownAs": {
84
+ "@id": "untp-core:Party",
85
+ "@type": "@id",
86
+ "@context": {
87
+ "@protected": true,
88
+ "name": {
89
+ "@id": "schemaorg:name"
90
+ },
91
+ "registeredId": {
92
+ "@id": "untp-core:registeredId",
93
+ "@type": "xsd:string"
94
+ },
95
+ "idScheme": {
96
+ "@id": "untp-core:idScheme",
97
+ "@type": "@id"
98
+ }
99
+ }
100
+ }
101
+ }
102
+ },
103
+ "CredentialIssuer": {
104
+ "@protected": true,
105
+ "@id": "untp-core:CredentialIssuer",
106
+ "@context": {
107
+ "@protected": true,
108
+ "name": {
109
+ "@id": "schemaorg:name"
110
+ },
111
+ "issuerAlsoKnownAs": {
112
+ "@id": "untp-core:Party",
113
+ "@type": "@id",
114
+ "@context": {
115
+ "@protected": true,
116
+ "name": {
117
+ "@id": "schemaorg:name"
118
+ },
119
+ "registeredId": {
120
+ "@id": "untp-core:registeredId",
121
+ "@type": "xsd:string"
122
+ },
123
+ "idScheme": {
124
+ "@id": "untp-core:idScheme",
125
+ "@type": "@id"
126
+ }
127
+ }
128
+ }
129
+ }
130
+ },
131
+ "Endorsement": {
132
+ "@protected": true,
133
+ "@id": "untp-core:Endorsement",
134
+ "@context": {
135
+ "@protected": true,
136
+ "name": {
137
+ "@id": "schemaorg:name"
138
+ },
139
+ "trustmark": {
140
+ "@protected": true,
141
+ "@id": "untp-core:trustmark",
142
+ "@context": {
143
+ "@protected": true,
144
+ "fileName": {
145
+ "@id": "untp-core:fileName",
146
+ "@type": "xsd:string"
147
+ },
148
+ "fileType": {
149
+ "@id": "untp-core:fileType",
150
+ "@type": "@vocab",
151
+ "@context": {
152
+ "@protected": true,
153
+ "@vocab": "https://mimetype.io/"
154
+ }
155
+ },
156
+ "file": {
157
+ "@id": "untp-core:file",
158
+ "@type": "xsd:string"
159
+ }
160
+ }
161
+ },
162
+ "issuingAuthority": {
163
+ "@id": "untp-core:Party",
164
+ "@type": "@id",
165
+ "@context": {
166
+ "@protected": true,
167
+ "name": {
168
+ "@id": "schemaorg:name"
169
+ },
170
+ "registeredId": {
171
+ "@id": "untp-core:registeredId",
172
+ "@type": "xsd:string"
173
+ },
174
+ "idScheme": {
175
+ "@id": "untp-core:idScheme",
176
+ "@type": "@id"
177
+ }
178
+ }
179
+ },
180
+ "endorsementEvidence": {
181
+ "@protected": true,
182
+ "@id": "untp-core:endorsementEvidence",
183
+ "@context": {
184
+ "@protected": true,
185
+ "linkURL": {
186
+ "@id": "untp-core:linkURL",
187
+ "@type": "xsd:string"
188
+ },
189
+ "linkName": {
190
+ "@id": "untp-core:linkName",
191
+ "@type": "xsd:string"
192
+ },
193
+ "linkType": {
194
+ "@id": "untp-core:linkType",
195
+ "@type": "xsd:string"
196
+ }
197
+ }
198
+ }
199
+ }
200
+ },
201
+ "ConformityScheme": {
202
+ "@protected": true,
203
+ "@id": "untp-core:ConformityScheme",
204
+ "@context": {
205
+ "@protected": true,
206
+ "name": {
207
+ "@id": "schemaorg:name"
208
+ },
209
+ "description": {
210
+ "@id": "schemaorg:description"
211
+ },
212
+ "version": {
213
+ "@id": "untp-core:version",
214
+ "@type": "xsd:string"
215
+ },
216
+ "validFrom": {
217
+ "@id": "untp-core:validFrom",
218
+ "@type": "xsd:string"
219
+ },
220
+ "owner": {
221
+ "@id": "untp-core:Party",
222
+ "@type": "@id",
223
+ "@context": {
224
+ "@protected": true,
225
+ "name": {
226
+ "@id": "schemaorg:name"
227
+ },
228
+ "registeredId": {
229
+ "@id": "untp-core:registeredId",
230
+ "@type": "xsd:string"
231
+ },
232
+ "idScheme": {
233
+ "@id": "untp-core:idScheme",
234
+ "@type": "@id"
235
+ }
236
+ }
237
+ },
238
+ "trustmark": {
239
+ "@protected": true,
240
+ "@id": "untp-core:trustmark",
241
+ "@context": {
242
+ "@protected": true,
243
+ "fileName": {
244
+ "@id": "untp-core:fileName",
245
+ "@type": "xsd:string"
246
+ },
247
+ "fileType": {
248
+ "@id": "untp-core:fileType",
249
+ "@type": "@vocab",
250
+ "@context": {
251
+ "@protected": true,
252
+ "@vocab": "https://mimetype.io/"
253
+ }
254
+ },
255
+ "file": {
256
+ "@id": "untp-core:file",
257
+ "@type": "xsd:string"
258
+ }
259
+ }
260
+ }
261
+ }
262
+ },
263
+ "Standard": {
264
+ "@protected": true,
265
+ "@id": "untp-core:Standard",
266
+ "@context": {
267
+ "@protected": true,
268
+ "name": {
269
+ "@id": "schemaorg:name"
270
+ },
271
+ "issuingParty": {
272
+ "@id": "untp-core:Party",
273
+ "@type": "@id",
274
+ "@context": {
275
+ "@protected": true,
276
+ "name": {
277
+ "@id": "schemaorg:name"
278
+ },
279
+ "registeredId": {
280
+ "@id": "untp-core:registeredId",
281
+ "@type": "xsd:string"
282
+ },
283
+ "idScheme": {
284
+ "@id": "untp-core:idScheme",
285
+ "@type": "@id"
286
+ }
287
+ }
288
+ },
289
+ "issueDate": {
290
+ "@id": "untp-core:issueDate",
291
+ "@type": "xsd:string"
292
+ }
293
+ }
294
+ },
295
+ "Regulation": {
296
+ "@protected": true,
297
+ "@id": "untp-core:Regulation",
298
+ "@context": {
299
+ "@protected": true,
300
+ "name": {
301
+ "@id": "schemaorg:name"
302
+ },
303
+ "jurisdictionCountry": {
304
+ "@id": "untp-core:jurisdictionCountry",
305
+ "@type": "@vocab",
306
+ "@context": {
307
+ "@protected": true,
308
+ "@vocab": "https://vocabulary.uncefact.org/CountryId#"
309
+ }
310
+ },
311
+ "administeredBy": {
312
+ "@id": "untp-core:Party",
313
+ "@type": "@id",
314
+ "@context": {
315
+ "@protected": true,
316
+ "name": {
317
+ "@id": "schemaorg:name"
318
+ },
319
+ "registeredId": {
320
+ "@id": "untp-core:registeredId",
321
+ "@type": "xsd:string"
322
+ },
323
+ "idScheme": {
324
+ "@id": "untp-core:idScheme",
325
+ "@type": "@id"
326
+ }
327
+ }
328
+ },
329
+ "effectiveDate": {
330
+ "@id": "untp-core:effectiveDate",
331
+ "@type": "xsd:string"
332
+ }
333
+ }
334
+ },
335
+ "Criterion": {
336
+ "@protected": true,
337
+ "@id": "untp-core:Criterion",
338
+ "@context": {
339
+ "@protected": true,
340
+ "name": {
341
+ "@id": "schemaorg:name"
342
+ },
343
+ "description": {
344
+ "@id": "schemaorg:description"
345
+ },
346
+ "conformityTopic": {
347
+ "@id": "untp-core:conformityTopic",
348
+ "@type": "@vocab",
349
+ "@context": {
350
+ "@protected": true,
351
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/conformityTopicCode#"
352
+ }
353
+ },
354
+ "status": {
355
+ "@id": "untp-core:status",
356
+ "@type": "@vocab",
357
+ "@context": {
358
+ "@protected": true,
359
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/statusCode#"
360
+ }
361
+ },
362
+ "subCriterion": {
363
+ "@id": "untp-core:subCriterion",
364
+ "@type": "@id"
365
+ },
366
+ "thresholdValue": {
367
+ "@protected": true,
368
+ "@id": "untp-core:thresholdValue",
369
+ "@context": {
370
+ "@protected": true,
371
+ "metricName": {
372
+ "@id": "untp-core:metricName",
373
+ "@type": "xsd:string"
374
+ },
375
+ "metricValue": {
376
+ "@protected": true,
377
+ "@id": "untp-core:metricValue",
378
+ "@context": {
379
+ "@protected": true,
380
+ "value": {
381
+ "@id": "untp-core:value",
382
+ "@type": "xsd:double"
383
+ },
384
+ "unit": {
385
+ "@id": "untp-core:unit",
386
+ "@type": "@vocab",
387
+ "@context": {
388
+ "@protected": true,
389
+ "@vocab": "https://vocabulary.uncefact.org/UnitMeasureCode#"
390
+ }
391
+ }
392
+ }
393
+ },
394
+ "score": {
395
+ "@id": "untp-core:score",
396
+ "@type": "xsd:string"
397
+ },
398
+ "accuracy": {
399
+ "@id": "untp-core:accuracy",
400
+ "@type": "xsd:double"
401
+ }
402
+ }
403
+ },
404
+ "performanceLevel": {
405
+ "@id": "untp-core:performanceLevel",
406
+ "@type": "xsd:string"
407
+ },
408
+ "category": {
409
+ "@id": "untp-core:category",
410
+ "@type": "@id"
411
+ },
412
+ "tag": {
413
+ "@id": "untp-core:tag",
414
+ "@type": "xsd:string"
415
+ }
416
+ }
417
+ },
418
+ "Facility": {
419
+ "@protected": true,
420
+ "@id": "untp-core:Facility",
421
+ "@context": {
422
+ "@protected": true,
423
+ "name": {
424
+ "@id": "schemaorg:name"
425
+ },
426
+ "registeredId": {
427
+ "@id": "untp-core:registeredId",
428
+ "@type": "xsd:string"
429
+ },
430
+ "idScheme": {
431
+ "@id": "untp-core:idScheme",
432
+ "@type": "@id"
433
+ },
434
+ "description": {
435
+ "@id": "schemaorg:description"
436
+ },
437
+ "countryOfOperation": {
438
+ "@id": "untp-core:countryOfOperation",
439
+ "@type": "@vocab",
440
+ "@context": {
441
+ "@protected": true,
442
+ "@vocab": "https://vocabulary.uncefact.org/CountryId#"
443
+ }
444
+ },
445
+ "processCategory": {
446
+ "@id": "untp-core:processCategory",
447
+ "@type": "@id"
448
+ },
449
+ "operatedByParty": {
450
+ "@id": "untp-core:Party",
451
+ "@type": "@id",
452
+ "@context": {
453
+ "@protected": true,
454
+ "name": {
455
+ "@id": "schemaorg:name"
456
+ },
457
+ "registeredId": {
458
+ "@id": "untp-core:registeredId",
459
+ "@type": "xsd:string"
460
+ },
461
+ "idScheme": {
462
+ "@id": "untp-core:idScheme",
463
+ "@type": "@id"
464
+ }
465
+ }
466
+ },
467
+ "facilityAlsoKnownAs": {
468
+ "@id": "untp-core:Facility",
469
+ "@type": "@id",
470
+ "@context": {
471
+ "@protected": true,
472
+ "name": {
473
+ "@id": "schemaorg:name"
474
+ },
475
+ "registeredId": {
476
+ "@id": "untp-core:registeredId",
477
+ "@type": "xsd:string"
478
+ },
479
+ "idScheme": {
480
+ "@id": "untp-core:idScheme",
481
+ "@type": "@id"
482
+ }
483
+ }
484
+ },
485
+ "locationInformation": {
486
+ "@protected": true,
487
+ "@id": "untp-core:locationInformation",
488
+ "@context": {
489
+ "@protected": true,
490
+ "plusCode": {
491
+ "@id": "untp-core:plusCode",
492
+ "@type": "xsd:string"
493
+ },
494
+ "geoLocation": {
495
+ "@protected": true,
496
+ "@id": "geojson:geoLocation",
497
+ "@context": {
498
+ "@protected": true,
499
+ "type": {
500
+ "@id": "geojson:type",
501
+ "@type": "xsd:string"
502
+ },
503
+ "coordinates": {
504
+ "@protected": true,
505
+ "@id": "geojson:coordinates",
506
+ "@context": {
507
+ "@protected": true,
508
+ "data": {
509
+ "@id": "geojson:data",
510
+ "@type": "xsd:double"
511
+ }
512
+ }
513
+ }
514
+ }
515
+ },
516
+ "geoBoundary": {
517
+ "@protected": true,
518
+ "@id": "geojson:geoBoundary",
519
+ "@context": {
520
+ "@protected": true,
521
+ "type": {
522
+ "@id": "geojson:type",
523
+ "@type": "xsd:string"
524
+ },
525
+ "coordinates": {
526
+ "@protected": true,
527
+ "@id": "geojson:coordinates",
528
+ "@context": {
529
+ "@protected": true,
530
+ "data": {
531
+ "@protected": true,
532
+ "@id": "geojson:data",
533
+ "@context": {
534
+ "@protected": true,
535
+ "data": {
536
+ "@id": "geojson:data",
537
+ "@type": "xsd:double"
538
+ }
539
+ }
540
+ }
541
+ }
542
+ }
543
+ }
544
+ }
545
+ }
546
+ },
547
+ "address": {
548
+ "@protected": true,
549
+ "@id": "untp-core:address",
550
+ "@context": {
551
+ "@protected": true,
552
+ "streetAddress": {
553
+ "@id": "untp-core:streetAddress",
554
+ "@type": "xsd:string"
555
+ },
556
+ "postalCode": {
557
+ "@id": "untp-core:postalCode",
558
+ "@type": "xsd:string"
559
+ },
560
+ "addressLocality": {
561
+ "@id": "untp-core:addressLocality",
562
+ "@type": "xsd:string"
563
+ },
564
+ "addressRegion": {
565
+ "@id": "untp-core:addressRegion",
566
+ "@type": "xsd:string"
567
+ },
568
+ "addressCountry": {
569
+ "@id": "untp-core:addressCountry",
570
+ "@type": "@vocab",
571
+ "@context": {
572
+ "@protected": true,
573
+ "@vocab": "https://vocabulary.uncefact.org/CountryId#"
574
+ }
575
+ }
576
+ }
577
+ }
578
+ }
579
+ },
580
+ "Product": {
581
+ "@protected": true,
582
+ "@id": "untp-core:Product",
583
+ "@context": {
584
+ "@protected": true,
585
+ "name": {
586
+ "@id": "schemaorg:name"
587
+ },
588
+ "registeredId": {
589
+ "@id": "untp-core:registeredId",
590
+ "@type": "xsd:string"
591
+ },
592
+ "idScheme": {
593
+ "@id": "untp-core:idScheme",
594
+ "@type": "@id"
595
+ },
596
+ "batchNumber": {
597
+ "@id": "untp-core:batchNumber",
598
+ "@type": "xsd:string"
599
+ },
600
+ "productImage": {
601
+ "@protected": true,
602
+ "@id": "untp-core:productImage",
603
+ "@context": {
604
+ "@protected": true,
605
+ "linkURL": {
606
+ "@id": "untp-core:linkURL",
607
+ "@type": "xsd:string"
608
+ },
609
+ "linkName": {
610
+ "@id": "untp-core:linkName",
611
+ "@type": "xsd:string"
612
+ },
613
+ "linkType": {
614
+ "@id": "untp-core:linkType",
615
+ "@type": "xsd:string"
616
+ }
617
+ }
618
+ },
619
+ "description": {
620
+ "@id": "schemaorg:description"
621
+ },
622
+ "productCategory": {
623
+ "@id": "untp-core:productCategory",
624
+ "@type": "@id"
625
+ },
626
+ "furtherInformation": {
627
+ "@protected": true,
628
+ "@id": "untp-core:furtherInformation",
629
+ "@context": {
630
+ "@protected": true,
631
+ "linkURL": {
632
+ "@id": "untp-core:linkURL",
633
+ "@type": "xsd:string"
634
+ },
635
+ "linkName": {
636
+ "@id": "untp-core:linkName",
637
+ "@type": "xsd:string"
638
+ },
639
+ "linkType": {
640
+ "@id": "untp-core:linkType",
641
+ "@type": "xsd:string"
642
+ }
643
+ }
644
+ },
645
+ "producedByParty": {
646
+ "@id": "untp-core:Party",
647
+ "@type": "@id",
648
+ "@context": {
649
+ "@protected": true,
650
+ "name": {
651
+ "@id": "schemaorg:name"
652
+ },
653
+ "registeredId": {
654
+ "@id": "untp-core:registeredId",
655
+ "@type": "xsd:string"
656
+ },
657
+ "idScheme": {
658
+ "@id": "untp-core:idScheme",
659
+ "@type": "@id"
660
+ }
661
+ }
662
+ },
663
+ "producedAtFacility": {
664
+ "@id": "untp-core:Facility",
665
+ "@type": "@id",
666
+ "@context": {
667
+ "@protected": true,
668
+ "name": {
669
+ "@id": "schemaorg:name"
670
+ },
671
+ "registeredId": {
672
+ "@id": "untp-core:registeredId",
673
+ "@type": "xsd:string"
674
+ },
675
+ "idScheme": {
676
+ "@id": "untp-core:idScheme",
677
+ "@type": "@id"
678
+ }
679
+ }
680
+ },
681
+ "productionDate": {
682
+ "@id": "untp-core:productionDate",
683
+ "@type": "xsd:string"
684
+ },
685
+ "countryOfProduction": {
686
+ "@id": "untp-core:countryOfProduction",
687
+ "@type": "@vocab",
688
+ "@context": {
689
+ "@protected": true,
690
+ "@vocab": "https://vocabulary.uncefact.org/CountryId#"
691
+ }
692
+ },
693
+ "serialNumber": {
694
+ "@id": "untp-core:serialNumber",
695
+ "@type": "xsd:string"
696
+ },
697
+ "dimensions": {
698
+ "@protected": true,
699
+ "@id": "untp-core:dimensions",
700
+ "@context": {
701
+ "@protected": true,
702
+ "weight": {
703
+ "@protected": true,
704
+ "@id": "untp-core:weight",
705
+ "@context": {
706
+ "@protected": true,
707
+ "value": {
708
+ "@id": "untp-core:value",
709
+ "@type": "xsd:double"
710
+ },
711
+ "unit": {
712
+ "@id": "untp-core:unit",
713
+ "@type": "@vocab",
714
+ "@context": {
715
+ "@protected": true,
716
+ "@vocab": "https://vocabulary.uncefact.org/UnitMeasureCode#"
717
+ }
718
+ }
719
+ }
720
+ },
721
+ "length": {
722
+ "@protected": true,
723
+ "@id": "untp-core:length",
724
+ "@context": {
725
+ "@protected": true,
726
+ "value": {
727
+ "@id": "untp-core:value",
728
+ "@type": "xsd:double"
729
+ },
730
+ "unit": {
731
+ "@id": "untp-core:unit",
732
+ "@type": "@vocab",
733
+ "@context": {
734
+ "@protected": true,
735
+ "@vocab": "https://vocabulary.uncefact.org/UnitMeasureCode#"
736
+ }
737
+ }
738
+ }
739
+ },
740
+ "width": {
741
+ "@protected": true,
742
+ "@id": "untp-core:width",
743
+ "@context": {
744
+ "@protected": true,
745
+ "value": {
746
+ "@id": "untp-core:value",
747
+ "@type": "xsd:double"
748
+ },
749
+ "unit": {
750
+ "@id": "untp-core:unit",
751
+ "@type": "@vocab",
752
+ "@context": {
753
+ "@protected": true,
754
+ "@vocab": "https://vocabulary.uncefact.org/UnitMeasureCode#"
755
+ }
756
+ }
757
+ }
758
+ },
759
+ "height": {
760
+ "@protected": true,
761
+ "@id": "untp-core:height",
762
+ "@context": {
763
+ "@protected": true,
764
+ "value": {
765
+ "@id": "untp-core:value",
766
+ "@type": "xsd:double"
767
+ },
768
+ "unit": {
769
+ "@id": "untp-core:unit",
770
+ "@type": "@vocab",
771
+ "@context": {
772
+ "@protected": true,
773
+ "@vocab": "https://vocabulary.uncefact.org/UnitMeasureCode#"
774
+ }
775
+ }
776
+ }
777
+ },
778
+ "volume": {
779
+ "@protected": true,
780
+ "@id": "untp-core:volume",
781
+ "@context": {
782
+ "@protected": true,
783
+ "value": {
784
+ "@id": "untp-core:value",
785
+ "@type": "xsd:double"
786
+ },
787
+ "unit": {
788
+ "@id": "untp-core:unit",
789
+ "@type": "@vocab",
790
+ "@context": {
791
+ "@protected": true,
792
+ "@vocab": "https://vocabulary.uncefact.org/UnitMeasureCode#"
793
+ }
794
+ }
795
+ }
796
+ }
797
+ }
798
+ }
799
+ }
800
+ },
801
+ "ConformityAssessment": {
802
+ "@protected": true,
803
+ "@id": "untp-dcc:ConformityAssessment",
804
+ "@context": {
805
+ "@protected": true,
806
+ "description": {
807
+ "@id": "schemaorg:description"
808
+ },
809
+ "assessmentDate": {
810
+ "@id": "untp-core:assessmentDate",
811
+ "@type": "xsd:string"
812
+ },
813
+ "name": {
814
+ "@id": "schemaorg:name"
815
+ },
816
+ "referenceStandard": {
817
+ "@id": "untp-core:referenceStandard",
818
+ "@type": "@id"
819
+ },
820
+ "referenceRegulation": {
821
+ "@id": "untp-core:referenceRegulation",
822
+ "@type": "@id"
823
+ },
824
+ "assessmentCriteria": {
825
+ "@id": "untp-core:assessmentCriteria",
826
+ "@type": "@id"
827
+ },
828
+ "declaredValue": {
829
+ "@protected": true,
830
+ "@id": "untp-core:declaredValue",
831
+ "@context": {
832
+ "@protected": true,
833
+ "metricName": {
834
+ "@id": "untp-core:metricName",
835
+ "@type": "xsd:string"
836
+ },
837
+ "metricValue": {
838
+ "@protected": true,
839
+ "@id": "untp-core:metricValue",
840
+ "@context": {
841
+ "@protected": true,
842
+ "value": {
843
+ "@id": "untp-core:value",
844
+ "@type": "xsd:double"
845
+ },
846
+ "unit": {
847
+ "@id": "untp-core:unit",
848
+ "@type": "@vocab",
849
+ "@context": {
850
+ "@protected": true,
851
+ "@vocab": "https://vocabulary.uncefact.org/UnitMeasureCode#"
852
+ }
853
+ }
854
+ }
855
+ },
856
+ "score": {
857
+ "@id": "untp-core:score",
858
+ "@type": "xsd:string"
859
+ },
860
+ "accuracy": {
861
+ "@id": "untp-core:accuracy",
862
+ "@type": "xsd:double"
863
+ }
864
+ }
865
+ },
866
+ "conformance": {
867
+ "@id": "untp-core:conformance",
868
+ "@type": "xsd:boolean"
869
+ },
870
+ "conformityTopic": {
871
+ "@id": "untp-core:conformityTopic",
872
+ "@type": "@vocab",
873
+ "@context": {
874
+ "@protected": true,
875
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/conformityTopicCode#"
876
+ }
877
+ },
878
+ "assessedProduct": {
879
+ "@protected": true,
880
+ "@id": "untp-dcc:assessedProduct",
881
+ "@context": {
882
+ "@protected": true,
883
+ "product": {
884
+ "@id": "untp-core:Product",
885
+ "@type": "@id",
886
+ "@context": {
887
+ "@protected": true,
888
+ "name": {
889
+ "@id": "schemaorg:name"
890
+ },
891
+ "registeredId": {
892
+ "@id": "untp-core:registeredId",
893
+ "@type": "xsd:string"
894
+ },
895
+ "idScheme": {
896
+ "@id": "untp-core:idScheme",
897
+ "@type": "@id"
898
+ },
899
+ "batchNumber": {
900
+ "@id": "untp-core:batchNumber",
901
+ "@type": "xsd:string"
902
+ },
903
+ "serialNumber": {
904
+ "@id": "untp-core:serialNumber",
905
+ "@type": "xsd:string"
906
+ }
907
+ }
908
+ },
909
+ "IDverifiedByCAB": {
910
+ "@id": "untp-dcc:IDverifiedByCAB",
911
+ "@type": "xsd:boolean"
912
+ }
913
+ }
914
+ },
915
+ "assessedFacility": {
916
+ "@protected": true,
917
+ "@id": "untp-dcc:assessedFacility",
918
+ "@context": {
919
+ "@protected": true,
920
+ "facility": {
921
+ "@id": "untp-core:Facility",
922
+ "@type": "@id",
923
+ "@context": {
924
+ "@protected": true,
925
+ "name": {
926
+ "@id": "schemaorg:name"
927
+ },
928
+ "registeredId": {
929
+ "@id": "untp-core:registeredId",
930
+ "@type": "xsd:string"
931
+ },
932
+ "idScheme": {
933
+ "@id": "untp-core:idScheme",
934
+ "@type": "@id"
935
+ }
936
+ }
937
+ },
938
+ "IDverifiedByCAB": {
939
+ "@id": "untp-dcc:IDverifiedByCAB",
940
+ "@type": "xsd:boolean"
941
+ }
942
+ }
943
+ },
944
+ "assessedOrganisation": {
945
+ "@id": "untp-core:Party",
946
+ "@type": "@id",
947
+ "@context": {
948
+ "@protected": true,
949
+ "name": {
950
+ "@id": "schemaorg:name"
951
+ },
952
+ "registeredId": {
953
+ "@id": "untp-core:registeredId",
954
+ "@type": "xsd:string"
955
+ },
956
+ "idScheme": {
957
+ "@id": "untp-core:idScheme",
958
+ "@type": "@id"
959
+ },
960
+ "description": {
961
+ "@id": "schemaorg:description"
962
+ }
963
+ }
964
+ },
965
+ "auditor": {
966
+ "@id": "untp-core:Party",
967
+ "@type": "@id",
968
+ "@context": {
969
+ "@protected": true,
970
+ "name": {
971
+ "@id": "schemaorg:name"
972
+ },
973
+ "registeredId": {
974
+ "@id": "untp-core:registeredId",
975
+ "@type": "xsd:string"
976
+ },
977
+ "idScheme": {
978
+ "@id": "untp-core:idScheme",
979
+ "@type": "@id"
980
+ },
981
+ "description": {
982
+ "@id": "schemaorg:description"
983
+ }
984
+ }
985
+ }
986
+ }
987
+ },
988
+ "ConformityAttestation": {
989
+ "@protected": true,
990
+ "@id": "untp-dcc:ConformityAttestation",
991
+ "@context": {
992
+ "@protected": true,
993
+ "name": {
994
+ "@id": "schemaorg:name"
995
+ },
996
+ "assessorLevel": {
997
+ "@id": "untp-core:assessorLevel",
998
+ "@type": "@vocab",
999
+ "@context": {
1000
+ "@protected": true,
1001
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/assessorLevelCode#"
1002
+ }
1003
+ },
1004
+ "assessmentLevel": {
1005
+ "@id": "untp-core:assessmentLevel",
1006
+ "@type": "@vocab",
1007
+ "@context": {
1008
+ "@protected": true,
1009
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/assessmentLevelCode#"
1010
+ }
1011
+ },
1012
+ "attestationType": {
1013
+ "@id": "untp-core:attestationType",
1014
+ "@type": "@vocab",
1015
+ "@context": {
1016
+ "@protected": true,
1017
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/attestationTypeCode#"
1018
+ }
1019
+ },
1020
+ "description": {
1021
+ "@id": "schemaorg:description"
1022
+ },
1023
+ "issuedToParty": {
1024
+ "@id": "untp-core:Party",
1025
+ "@type": "@id",
1026
+ "@context": {
1027
+ "@protected": true,
1028
+ "name": {
1029
+ "@id": "schemaorg:name"
1030
+ },
1031
+ "registeredId": {
1032
+ "@id": "untp-core:registeredId",
1033
+ "@type": "xsd:string"
1034
+ },
1035
+ "idScheme": {
1036
+ "@id": "untp-core:idScheme",
1037
+ "@type": "@id"
1038
+ },
1039
+ "description": {
1040
+ "@id": "schemaorg:description"
1041
+ }
1042
+ }
1043
+ },
1044
+ "authorisation": {
1045
+ "@id": "untp-core:authorisation",
1046
+ "@type": "@id"
1047
+ },
1048
+ "conformityCertificate": {
1049
+ "@protected": true,
1050
+ "@id": "untp-core:conformityCertificate",
1051
+ "@context": {
1052
+ "@protected": true,
1053
+ "linkURL": {
1054
+ "@id": "untp-core:linkURL",
1055
+ "@type": "xsd:string"
1056
+ },
1057
+ "linkName": {
1058
+ "@id": "untp-core:linkName",
1059
+ "@type": "xsd:string"
1060
+ },
1061
+ "linkType": {
1062
+ "@id": "untp-core:linkType",
1063
+ "@type": "xsd:string"
1064
+ },
1065
+ "hashDigest": {
1066
+ "@id": "untp-core:hashDigest",
1067
+ "@type": "xsd:string"
1068
+ },
1069
+ "hashMethod": {
1070
+ "@id": "untp-core:hashMethod",
1071
+ "@type": "@vocab",
1072
+ "@context": {
1073
+ "@protected": true,
1074
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/hashMethodCode#"
1075
+ }
1076
+ },
1077
+ "encryptionMethod": {
1078
+ "@id": "untp-core:encryptionMethod",
1079
+ "@type": "@vocab",
1080
+ "@context": {
1081
+ "@protected": true,
1082
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/encryptionMethodCode#"
1083
+ }
1084
+ }
1085
+ }
1086
+ },
1087
+ "auditableEvidence": {
1088
+ "@protected": true,
1089
+ "@id": "untp-core:auditableEvidence",
1090
+ "@context": {
1091
+ "@protected": true,
1092
+ "linkURL": {
1093
+ "@id": "untp-core:linkURL",
1094
+ "@type": "xsd:string"
1095
+ },
1096
+ "linkName": {
1097
+ "@id": "untp-core:linkName",
1098
+ "@type": "xsd:string"
1099
+ },
1100
+ "linkType": {
1101
+ "@id": "untp-core:linkType",
1102
+ "@type": "xsd:string"
1103
+ },
1104
+ "hashDigest": {
1105
+ "@id": "untp-core:hashDigest",
1106
+ "@type": "xsd:string"
1107
+ },
1108
+ "hashMethod": {
1109
+ "@id": "untp-core:hashMethod",
1110
+ "@type": "@vocab",
1111
+ "@context": {
1112
+ "@protected": true,
1113
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/hashMethodCode#"
1114
+ }
1115
+ },
1116
+ "encryptionMethod": {
1117
+ "@id": "untp-core:encryptionMethod",
1118
+ "@type": "@vocab",
1119
+ "@context": {
1120
+ "@protected": true,
1121
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/encryptionMethodCode#"
1122
+ }
1123
+ }
1124
+ }
1125
+ },
1126
+ "scope": {
1127
+ "@id": "untp-core:scope",
1128
+ "@type": "@id"
1129
+ },
1130
+ "assessment": {
1131
+ "@id": "untp-dcc:assessment",
1132
+ "@type": "@id"
1133
+ }
1134
+ }
1135
+ },
1136
+ "Attestation": {
1137
+ "@protected": true,
1138
+ "@id": "untp-core:Attestation",
1139
+ "@context": {
1140
+ "@protected": true,
1141
+ "name": {
1142
+ "@id": "schemaorg:name"
1143
+ },
1144
+ "assessorLevel": {
1145
+ "@id": "untp-core:assessorLevel",
1146
+ "@type": "@vocab",
1147
+ "@context": {
1148
+ "@protected": true,
1149
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/assessorLevelCode#"
1150
+ }
1151
+ },
1152
+ "assessmentLevel": {
1153
+ "@id": "untp-core:assessmentLevel",
1154
+ "@type": "@vocab",
1155
+ "@context": {
1156
+ "@protected": true,
1157
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/assessmentLevelCode#"
1158
+ }
1159
+ },
1160
+ "attestationType": {
1161
+ "@id": "untp-core:attestationType",
1162
+ "@type": "@vocab",
1163
+ "@context": {
1164
+ "@protected": true,
1165
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/attestationTypeCode#"
1166
+ }
1167
+ },
1168
+ "description": {
1169
+ "@id": "schemaorg:description"
1170
+ },
1171
+ "issuedToParty": {
1172
+ "@id": "untp-core:Party",
1173
+ "@type": "@id",
1174
+ "@context": {
1175
+ "@protected": true,
1176
+ "name": {
1177
+ "@id": "schemaorg:name"
1178
+ },
1179
+ "registeredId": {
1180
+ "@id": "untp-core:registeredId",
1181
+ "@type": "xsd:string"
1182
+ },
1183
+ "idScheme": {
1184
+ "@id": "untp-core:idScheme",
1185
+ "@type": "@id"
1186
+ },
1187
+ "description": {
1188
+ "@id": "schemaorg:description"
1189
+ }
1190
+ }
1191
+ },
1192
+ "authorisation": {
1193
+ "@id": "untp-core:authorisation",
1194
+ "@type": "@id"
1195
+ },
1196
+ "conformityCertificate": {
1197
+ "@protected": true,
1198
+ "@id": "untp-core:conformityCertificate",
1199
+ "@context": {
1200
+ "@protected": true,
1201
+ "linkURL": {
1202
+ "@id": "untp-core:linkURL",
1203
+ "@type": "xsd:string"
1204
+ },
1205
+ "linkName": {
1206
+ "@id": "untp-core:linkName",
1207
+ "@type": "xsd:string"
1208
+ },
1209
+ "linkType": {
1210
+ "@id": "untp-core:linkType",
1211
+ "@type": "xsd:string"
1212
+ },
1213
+ "hashDigest": {
1214
+ "@id": "untp-core:hashDigest",
1215
+ "@type": "xsd:string"
1216
+ },
1217
+ "hashMethod": {
1218
+ "@id": "untp-core:hashMethod",
1219
+ "@type": "@vocab",
1220
+ "@context": {
1221
+ "@protected": true,
1222
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/hashMethodCode#"
1223
+ }
1224
+ },
1225
+ "encryptionMethod": {
1226
+ "@id": "untp-core:encryptionMethod",
1227
+ "@type": "@vocab",
1228
+ "@context": {
1229
+ "@protected": true,
1230
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/encryptionMethodCode#"
1231
+ }
1232
+ }
1233
+ }
1234
+ },
1235
+ "auditableEvidence": {
1236
+ "@protected": true,
1237
+ "@id": "untp-core:auditableEvidence",
1238
+ "@context": {
1239
+ "@protected": true,
1240
+ "linkURL": {
1241
+ "@id": "untp-core:linkURL",
1242
+ "@type": "xsd:string"
1243
+ },
1244
+ "linkName": {
1245
+ "@id": "untp-core:linkName",
1246
+ "@type": "xsd:string"
1247
+ },
1248
+ "linkType": {
1249
+ "@id": "untp-core:linkType",
1250
+ "@type": "xsd:string"
1251
+ },
1252
+ "hashDigest": {
1253
+ "@id": "untp-core:hashDigest",
1254
+ "@type": "xsd:string"
1255
+ },
1256
+ "hashMethod": {
1257
+ "@id": "untp-core:hashMethod",
1258
+ "@type": "@vocab",
1259
+ "@context": {
1260
+ "@protected": true,
1261
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/hashMethodCode#"
1262
+ }
1263
+ },
1264
+ "encryptionMethod": {
1265
+ "@id": "untp-core:encryptionMethod",
1266
+ "@type": "@vocab",
1267
+ "@context": {
1268
+ "@protected": true,
1269
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/encryptionMethodCode#"
1270
+ }
1271
+ }
1272
+ }
1273
+ }
1274
+ }
1275
+ },
1276
+ "Declaration": {
1277
+ "@protected": true,
1278
+ "@id": "untp-core:Declaration",
1279
+ "@context": {
1280
+ "@protected": true,
1281
+ "description": {
1282
+ "@id": "schemaorg:description"
1283
+ },
1284
+ "referenceStandard": {
1285
+ "@id": "untp-core:referenceStandard",
1286
+ "@type": "@id"
1287
+ },
1288
+ "referenceRegulation": {
1289
+ "@id": "untp-core:referenceRegulation",
1290
+ "@type": "@id"
1291
+ },
1292
+ "assessmentCriteria": {
1293
+ "@id": "untp-core:assessmentCriteria",
1294
+ "@type": "@id"
1295
+ },
1296
+ "assessmentDate": {
1297
+ "@id": "untp-core:assessmentDate",
1298
+ "@type": "xsd:string"
1299
+ },
1300
+ "declaredValue": {
1301
+ "@protected": true,
1302
+ "@id": "untp-core:declaredValue",
1303
+ "@context": {
1304
+ "@protected": true,
1305
+ "metricName": {
1306
+ "@id": "untp-core:metricName",
1307
+ "@type": "xsd:string"
1308
+ },
1309
+ "metricValue": {
1310
+ "@protected": true,
1311
+ "@id": "untp-core:metricValue",
1312
+ "@context": {
1313
+ "@protected": true,
1314
+ "value": {
1315
+ "@id": "untp-core:value",
1316
+ "@type": "xsd:double"
1317
+ },
1318
+ "unit": {
1319
+ "@id": "untp-core:unit",
1320
+ "@type": "@vocab",
1321
+ "@context": {
1322
+ "@protected": true,
1323
+ "@vocab": "https://vocabulary.uncefact.org/UnitMeasureCode#"
1324
+ }
1325
+ }
1326
+ }
1327
+ },
1328
+ "score": {
1329
+ "@id": "untp-core:score",
1330
+ "@type": "xsd:string"
1331
+ },
1332
+ "accuracy": {
1333
+ "@id": "untp-core:accuracy",
1334
+ "@type": "xsd:double"
1335
+ }
1336
+ }
1337
+ },
1338
+ "conformance": {
1339
+ "@id": "untp-core:conformance",
1340
+ "@type": "xsd:boolean"
1341
+ },
1342
+ "conformityTopic": {
1343
+ "@id": "untp-core:conformityTopic",
1344
+ "@type": "@vocab",
1345
+ "@context": {
1346
+ "@protected": true,
1347
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/conformityTopicCode#"
1348
+ }
1349
+ }
1350
+ }
1351
+ },
1352
+ "RenderTemplate2024": {
1353
+ "@protected": true,
1354
+ "@id": "untp-core:RenderTemplate2024",
1355
+ "@context": {
1356
+ "@protected": true,
1357
+ "name": {
1358
+ "@id": "schemaorg:name"
1359
+ },
1360
+ "mediaQuery": {
1361
+ "@id": "untp-core:mediaQuery",
1362
+ "@type": "xsd:string"
1363
+ },
1364
+ "template": {
1365
+ "@id": "renderMethodPrefix:template",
1366
+ "@type": "xsd:string"
1367
+ },
1368
+ "url": {
1369
+ "@id": "renderMethodPrefix:url",
1370
+ "@type": "xsd:string"
1371
+ }
1372
+ }
1373
+ },
1374
+ "WebRenderingTemplate2022": {
1375
+ "@protected": true,
1376
+ "@id": "untp-core:WebRenderingTemplate2022",
1377
+ "@context": {
1378
+ "@protected": true,
1379
+ "name": {
1380
+ "@id": "schemaorg:name"
1381
+ },
1382
+ "template": {
1383
+ "@id": "renderMethodPrefix:template",
1384
+ "@type": "xsd:string"
1385
+ }
1386
+ }
1387
+ }
1388
+ }
1389
+ };
1390
+ export default artefact;
1391
+ //# sourceMappingURL=dcc.js.map