@uncefact/untp-utils 0.2.0 → 0.4.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 (262) hide show
  1. package/README.md +40 -12
  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 +7 -2
  34. package/build/artefacts/detect-version-from-context.js +17 -6
  35. package/build/artefacts/detect-version-from-context.js.map +1 -1
  36. package/build/artefacts/detect-version-from-context.test.js +59 -0
  37. package/build/artefacts/detect-version-from-context.test.js.map +1 -1
  38. package/build/artefacts/urls.d.ts +8 -1
  39. package/build/artefacts/urls.js +17 -5
  40. package/build/artefacts/urls.js.map +1 -1
  41. package/build/artefacts/urls.test.js +63 -1
  42. package/build/artefacts/urls.test.js.map +1 -1
  43. package/build/bundle/artefacts/context/untp/0.6.0/dcc.d.ts +2 -0
  44. package/build/bundle/artefacts/context/untp/0.6.0/dcc.js +1244 -0
  45. package/build/bundle/artefacts/context/untp/0.6.0/dcc.js.map +1 -0
  46. package/build/bundle/artefacts/context/untp/0.6.0/dfr.d.ts +2 -0
  47. package/build/bundle/artefacts/context/untp/0.6.0/dfr.js +622 -0
  48. package/build/bundle/artefacts/context/untp/0.6.0/dfr.js.map +1 -0
  49. package/build/bundle/artefacts/context/untp/0.6.0/dia.d.ts +2 -0
  50. package/build/bundle/artefacts/context/untp/0.6.0/dia.js +165 -0
  51. package/build/bundle/artefacts/context/untp/0.6.0/dia.js.map +1 -0
  52. package/build/bundle/artefacts/context/untp/0.6.0/dpp.d.ts +2 -0
  53. package/build/bundle/artefacts/context/untp/0.6.0/dpp.js +1081 -0
  54. package/build/bundle/artefacts/context/untp/0.6.0/dpp.js.map +1 -0
  55. package/build/bundle/artefacts/context/untp/0.6.0/dte.d.ts +2 -0
  56. package/build/bundle/artefacts/context/untp/0.6.0/dte.js +1288 -0
  57. package/build/bundle/artefacts/context/untp/0.6.0/dte.js.map +1 -0
  58. package/build/bundle/artefacts/context/untp/0.6.1/dcc.d.ts +2 -0
  59. package/build/bundle/artefacts/context/untp/0.6.1/dcc.js +1391 -0
  60. package/build/bundle/artefacts/context/untp/0.6.1/dcc.js.map +1 -0
  61. package/build/bundle/artefacts/context/untp/0.6.1/dfr.d.ts +2 -0
  62. package/build/bundle/artefacts/context/untp/0.6.1/dfr.js +693 -0
  63. package/build/bundle/artefacts/context/untp/0.6.1/dfr.js.map +1 -0
  64. package/build/bundle/artefacts/context/untp/0.6.1/dia.d.ts +2 -0
  65. package/build/bundle/artefacts/context/untp/0.6.1/dia.js +199 -0
  66. package/build/bundle/artefacts/context/untp/0.6.1/dia.js.map +1 -0
  67. package/build/bundle/artefacts/context/untp/0.6.1/dpp.d.ts +2 -0
  68. package/build/bundle/artefacts/context/untp/0.6.1/dpp.js +1167 -0
  69. package/build/bundle/artefacts/context/untp/0.6.1/dpp.js.map +1 -0
  70. package/build/bundle/artefacts/context/untp/0.6.1/dte.d.ts +2 -0
  71. package/build/bundle/artefacts/context/untp/0.6.1/dte.js +1343 -0
  72. package/build/bundle/artefacts/context/untp/0.6.1/dte.js.map +1 -0
  73. package/build/bundle/artefacts/context/untp/0.7.0/untp.d.ts +2 -0
  74. package/build/bundle/artefacts/context/untp/0.7.0/untp.js +3496 -0
  75. package/build/bundle/artefacts/context/untp/0.7.0/untp.js.map +1 -0
  76. package/build/bundle/artefacts/context/vcdm/2/credentials.d.ts +2 -0
  77. package/build/bundle/artefacts/context/vcdm/2/credentials.js +304 -0
  78. package/build/bundle/artefacts/context/vcdm/2/credentials.js.map +1 -0
  79. package/build/bundle/artefacts/schema/untp/0.6.0/dcc.d.ts +2 -0
  80. package/build/bundle/artefacts/schema/untp/0.6.0/dcc.js +1134 -0
  81. package/build/bundle/artefacts/schema/untp/0.6.0/dcc.js.map +1 -0
  82. package/build/bundle/artefacts/schema/untp/0.6.0/dfr.d.ts +2 -0
  83. package/build/bundle/artefacts/schema/untp/0.6.0/dfr.js +1031 -0
  84. package/build/bundle/artefacts/schema/untp/0.6.0/dfr.js.map +1 -0
  85. package/build/bundle/artefacts/schema/untp/0.6.0/dia.d.ts +2 -0
  86. package/build/bundle/artefacts/schema/untp/0.6.0/dia.js +239 -0
  87. package/build/bundle/artefacts/schema/untp/0.6.0/dia.js.map +1 -0
  88. package/build/bundle/artefacts/schema/untp/0.6.0/dpp.d.ts +2 -0
  89. package/build/bundle/artefacts/schema/untp/0.6.0/dpp.js +1222 -0
  90. package/build/bundle/artefacts/schema/untp/0.6.0/dpp.js.map +1 -0
  91. package/build/bundle/artefacts/schema/untp/0.6.0/dte.d.ts +2 -0
  92. package/build/bundle/artefacts/schema/untp/0.6.0/dte.js +848 -0
  93. package/build/bundle/artefacts/schema/untp/0.6.0/dte.js.map +1 -0
  94. package/build/bundle/artefacts/schema/untp/0.6.1/dcc.d.ts +2 -0
  95. package/build/bundle/artefacts/schema/untp/0.6.1/dcc.js +1199 -0
  96. package/build/bundle/artefacts/schema/untp/0.6.1/dcc.js.map +1 -0
  97. package/build/bundle/artefacts/schema/untp/0.6.1/dfr.d.ts +2 -0
  98. package/build/bundle/artefacts/schema/untp/0.6.1/dfr.js +1040 -0
  99. package/build/bundle/artefacts/schema/untp/0.6.1/dfr.js.map +1 -0
  100. package/build/bundle/artefacts/schema/untp/0.6.1/dia.d.ts +2 -0
  101. package/build/bundle/artefacts/schema/untp/0.6.1/dia.js +239 -0
  102. package/build/bundle/artefacts/schema/untp/0.6.1/dia.js.map +1 -0
  103. package/build/bundle/artefacts/schema/untp/0.6.1/dpp.d.ts +2 -0
  104. package/build/bundle/artefacts/schema/untp/0.6.1/dpp.js +1232 -0
  105. package/build/bundle/artefacts/schema/untp/0.6.1/dpp.js.map +1 -0
  106. package/build/bundle/artefacts/schema/untp/0.6.1/dte.d.ts +2 -0
  107. package/build/bundle/artefacts/schema/untp/0.6.1/dte.js +848 -0
  108. package/build/bundle/artefacts/schema/untp/0.6.1/dte.js.map +1 -0
  109. package/build/bundle/artefacts/schema/untp/0.7.0/cvc.d.ts +2 -0
  110. package/build/bundle/artefacts/schema/untp/0.7.0/cvc.js +704 -0
  111. package/build/bundle/artefacts/schema/untp/0.7.0/cvc.js.map +1 -0
  112. package/build/bundle/artefacts/schema/untp/0.7.0/dcc.d.ts +2 -0
  113. package/build/bundle/artefacts/schema/untp/0.7.0/dcc.js +1136 -0
  114. package/build/bundle/artefacts/schema/untp/0.7.0/dcc.js.map +1 -0
  115. package/build/bundle/artefacts/schema/untp/0.7.0/dfr.d.ts +2 -0
  116. package/build/bundle/artefacts/schema/untp/0.7.0/dfr.js +1248 -0
  117. package/build/bundle/artefacts/schema/untp/0.7.0/dfr.js.map +1 -0
  118. package/build/bundle/artefacts/schema/untp/0.7.0/dia.d.ts +2 -0
  119. package/build/bundle/artefacts/schema/untp/0.7.0/dia.js +446 -0
  120. package/build/bundle/artefacts/schema/untp/0.7.0/dia.js.map +1 -0
  121. package/build/bundle/artefacts/schema/untp/0.7.0/dpp.d.ts +2 -0
  122. package/build/bundle/artefacts/schema/untp/0.7.0/dpp.js +1303 -0
  123. package/build/bundle/artefacts/schema/untp/0.7.0/dpp.js.map +1 -0
  124. package/build/bundle/artefacts/schema/untp/0.7.0/dte.d.ts +2 -0
  125. package/build/bundle/artefacts/schema/untp/0.7.0/dte.js +1229 -0
  126. package/build/bundle/artefacts/schema/untp/0.7.0/dte.js.map +1 -0
  127. package/build/bundle/artefacts/schema/untp/0.7.0/linkset.d.ts +2 -0
  128. package/build/bundle/artefacts/schema/untp/0.7.0/linkset.js +122 -0
  129. package/build/bundle/artefacts/schema/untp/0.7.0/linkset.js.map +1 -0
  130. package/build/bundle/artefacts/schema/vcdm/2/verifiable-credential.d.ts +2 -0
  131. package/build/bundle/artefacts/schema/vcdm/2/verifiable-credential.js +321 -0
  132. package/build/bundle/artefacts/schema/vcdm/2/verifiable-credential.js.map +1 -0
  133. package/build/bundle/fallback.d.ts +41 -0
  134. package/build/bundle/fallback.js +62 -0
  135. package/build/bundle/fallback.js.map +1 -0
  136. package/build/bundle/fallback.test.d.ts +1 -0
  137. package/build/bundle/fallback.test.js +124 -0
  138. package/build/bundle/fallback.test.js.map +1 -0
  139. package/build/bundle/index.d.ts +4 -0
  140. package/build/bundle/index.js +77 -0
  141. package/build/bundle/index.js.map +1 -0
  142. package/build/bundle/lookup.d.ts +14 -0
  143. package/build/bundle/lookup.js +40 -0
  144. package/build/bundle/lookup.js.map +1 -0
  145. package/build/bundle/lookup.test.d.ts +1 -0
  146. package/build/bundle/lookup.test.js +70 -0
  147. package/build/bundle/lookup.test.js.map +1 -0
  148. package/build/bundle/public.d.ts +29 -0
  149. package/build/bundle/public.js +60 -0
  150. package/build/bundle/public.js.map +1 -0
  151. package/build/bundle/public.test.d.ts +1 -0
  152. package/build/bundle/public.test.js +41 -0
  153. package/build/bundle/public.test.js.map +1 -0
  154. package/build/bundle/refresh-classify.test.d.ts +1 -0
  155. package/build/bundle/refresh-classify.test.js +20 -0
  156. package/build/bundle/refresh-classify.test.js.map +1 -0
  157. package/build/bundle/refresh-main.test.d.ts +1 -0
  158. package/build/bundle/refresh-main.test.js +98 -0
  159. package/build/bundle/refresh-main.test.js.map +1 -0
  160. package/build/common/as-date-time.d.ts +13 -0
  161. package/build/common/as-date-time.js +44 -0
  162. package/build/common/as-date-time.js.map +1 -0
  163. package/build/common/as-date-time.test.d.ts +1 -0
  164. package/build/common/as-date-time.test.js +42 -0
  165. package/build/common/as-date-time.test.js.map +1 -0
  166. package/build/common/as-non-empty-string.d.ts +11 -4
  167. package/build/common/as-non-empty-string.js +15 -5
  168. package/build/common/as-non-empty-string.js.map +1 -1
  169. package/build/common/as-non-empty-string.test.js +7 -2
  170. package/build/common/as-non-empty-string.test.js.map +1 -1
  171. package/build/common/canonical-json.d.ts +10 -0
  172. package/build/common/canonical-json.js +29 -0
  173. package/build/common/canonical-json.js.map +1 -0
  174. package/build/common/canonical-json.test.d.ts +1 -0
  175. package/build/common/canonical-json.test.js +20 -0
  176. package/build/common/canonical-json.test.js.map +1 -0
  177. package/build/common/index.d.ts +5 -0
  178. package/build/common/index.js +6 -0
  179. package/build/common/index.js.map +1 -0
  180. package/build/common/validity-window.d.ts +45 -0
  181. package/build/common/validity-window.js +68 -0
  182. package/build/common/validity-window.js.map +1 -0
  183. package/build/common/validity-window.test.d.ts +1 -0
  184. package/build/common/validity-window.test.js +67 -0
  185. package/build/common/validity-window.test.js.map +1 -0
  186. package/build/conformity-vocabulary/codes.d.ts +4 -0
  187. package/build/conformity-vocabulary/codes.js +4 -0
  188. package/build/conformity-vocabulary/codes.js.map +1 -1
  189. package/build/conformity-vocabulary/parse-conformity-scheme.test.js +150 -0
  190. package/build/conformity-vocabulary/parse-conformity-scheme.test.js.map +1 -1
  191. package/build/conformity-vocabulary/parsers/v0-7-0.parser.js +225 -0
  192. package/build/conformity-vocabulary/parsers/v0-7-0.parser.js.map +1 -1
  193. package/build/conformity-vocabulary/types.d.ts +69 -15
  194. package/build/conformity-vocabulary/validate-conformity-claim.d.ts +17 -11
  195. package/build/conformity-vocabulary/validate-conformity-claim.js +118 -13
  196. package/build/conformity-vocabulary/validate-conformity-claim.js.map +1 -1
  197. package/build/conformity-vocabulary/validate-conformity-claim.test.js +265 -0
  198. package/build/conformity-vocabulary/validate-conformity-claim.test.js.map +1 -1
  199. package/build/loaders/index.d.ts +2 -0
  200. package/build/loaders/index.js +1 -0
  201. package/build/loaders/index.js.map +1 -1
  202. package/build/loaders/jsonld-document-loader.d.ts +7 -5
  203. package/build/loaders/jsonld-document-loader.js +11 -2
  204. package/build/loaders/jsonld-document-loader.js.map +1 -1
  205. package/build/loaders/jsonld-document-loader.test.js +41 -1
  206. package/build/loaders/jsonld-document-loader.test.js.map +1 -1
  207. package/build/loaders/schema-loader.d.ts +13 -3
  208. package/build/loaders/schema-loader.js +24 -8
  209. package/build/loaders/schema-loader.js.map +1 -1
  210. package/build/loaders/schema-loader.test.js +56 -1
  211. package/build/loaders/schema-loader.test.js.map +1 -1
  212. package/build/node/errors.d.ts +9 -3
  213. package/build/node/errors.js +9 -3
  214. package/build/node/errors.js.map +1 -1
  215. package/build/node/index.d.ts +1 -1
  216. package/build/node/index.js +1 -1
  217. package/build/node/index.js.map +1 -1
  218. package/build/node/is-private-ip.d.ts +8 -4
  219. package/build/node/is-private-ip.fail-closed.test.d.ts +1 -0
  220. package/build/node/is-private-ip.fail-closed.test.js +36 -0
  221. package/build/node/is-private-ip.fail-closed.test.js.map +1 -0
  222. package/build/node/is-private-ip.js +77 -12
  223. package/build/node/is-private-ip.js.map +1 -1
  224. package/build/node/is-private-ip.test.js +28 -0
  225. package/build/node/is-private-ip.test.js.map +1 -1
  226. package/build/node/validate-public-url.d.ts +43 -11
  227. package/build/node/validate-public-url.js +68 -34
  228. package/build/node/validate-public-url.js.map +1 -1
  229. package/build/node/validate-public-url.test.js +161 -14
  230. package/build/node/validate-public-url.test.js.map +1 -1
  231. package/build/resolvers/errors.d.ts +36 -6
  232. package/build/resolvers/errors.js +41 -7
  233. package/build/resolvers/errors.js.map +1 -1
  234. package/build/resolvers/resolve-document-if-changed.test.js +7 -0
  235. package/build/resolvers/resolve-document-if-changed.test.js.map +1 -1
  236. package/build/resolvers/resolve-document.d.ts +29 -9
  237. package/build/resolvers/resolve-document.integration.test.d.ts +1 -0
  238. package/build/resolvers/resolve-document.integration.test.js +108 -0
  239. package/build/resolvers/resolve-document.integration.test.js.map +1 -0
  240. package/build/resolvers/resolve-document.js +129 -49
  241. package/build/resolvers/resolve-document.js.map +1 -1
  242. package/build/resolvers/resolve-document.test.js +462 -12
  243. package/build/resolvers/resolve-document.test.js.map +1 -1
  244. package/build/resolvers/resolve-json-document.d.ts +11 -8
  245. package/build/resolvers/resolve-json-document.js +7 -6
  246. package/build/resolvers/resolve-json-document.js.map +1 -1
  247. package/build/resolvers/resolve-json-document.test.js +21 -4
  248. package/build/resolvers/resolve-json-document.test.js.map +1 -1
  249. package/build/validation/describe-jsonld-failure.d.ts +48 -8
  250. package/build/validation/describe-jsonld-failure.js +94 -27
  251. package/build/validation/describe-jsonld-failure.js.map +1 -1
  252. package/build/validation/describe-jsonld-failure.test.js +98 -13
  253. package/build/validation/describe-jsonld-failure.test.js.map +1 -1
  254. package/build/validation/index.d.ts +3 -2
  255. package/build/validation/index.js +2 -2
  256. package/build/validation/index.js.map +1 -1
  257. package/build/validation/validate-jsonld.d.ts +29 -3
  258. package/build/validation/validate-jsonld.js +49 -22
  259. package/build/validation/validate-jsonld.js.map +1 -1
  260. package/build/validation/validate-jsonld.test.js +62 -5
  261. package/build/validation/validate-jsonld.test.js.map +1 -1
  262. package/package.json +23 -3
@@ -0,0 +1,619 @@
1
+ {
2
+ "@context": {
3
+ "untp-dfr": "https://test.uncefact.org/vocabulary/untp/dfr/0/",
4
+ "untp-core": "https://test.uncefact.org/vocabulary/untp/core/0/",
5
+ "geojson": "https://purl.org/geojson/vocab#",
6
+ "renderMethodPrefix": "https://w3id.org/vc/render-method#",
7
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
8
+ "@protected": true,
9
+ "@version": 1.1,
10
+ "DigitalFacilityRecord": {
11
+ "@protected": true,
12
+ "@id": "untp-dfr:DigitalFacilityRecord"
13
+ },
14
+ "IdentifierScheme": {
15
+ "@protected": true,
16
+ "@id": "untp-core:IdentifierScheme"
17
+ },
18
+ "Classification": {
19
+ "@protected": true,
20
+ "@id": "untp-core:Classification",
21
+ "@context": {
22
+ "@protected": true,
23
+ "code": {
24
+ "@id": "untp-core:code",
25
+ "@type": "xsd:string"
26
+ },
27
+ "schemeID": {
28
+ "@id": "untp-core:schemeID",
29
+ "@type": "xsd:string"
30
+ },
31
+ "schemeName": {
32
+ "@id": "untp-core:schemeName",
33
+ "@type": "xsd:string"
34
+ }
35
+ }
36
+ },
37
+ "Party": {
38
+ "@protected": true,
39
+ "@id": "untp-core:Party",
40
+ "@context": {
41
+ "@protected": true,
42
+ "registeredId": {
43
+ "@id": "untp-core:registeredId",
44
+ "@type": "xsd:string"
45
+ },
46
+ "idScheme": {
47
+ "@id": "untp-core:idScheme",
48
+ "@type": "@id"
49
+ },
50
+ "registrationCountry": {
51
+ "@id": "untp-core:registrationCountry",
52
+ "@type": "@vocab",
53
+ "@context": {
54
+ "@protected": true,
55
+ "@vocab": "https://vocabulary.uncefact.org/CountryId#"
56
+ }
57
+ },
58
+ "organisationWebsite": {
59
+ "@id": "untp-core:organisationWebsite",
60
+ "@type": "xsd:string"
61
+ },
62
+ "industryCategory": {
63
+ "@id": "untp-core:industryCategory",
64
+ "@type": "@id"
65
+ },
66
+ "partyAlsoKnownAs": {
67
+ "@id": "untp-core:Party",
68
+ "@type": "@id",
69
+ "@context": {
70
+ "@protected": true,
71
+ "registeredId": {
72
+ "@id": "untp-core:registeredId",
73
+ "@type": "xsd:string"
74
+ },
75
+ "idScheme": {
76
+ "@id": "untp-core:idScheme",
77
+ "@type": "@id"
78
+ }
79
+ }
80
+ }
81
+ }
82
+ },
83
+ "CredentialIssuer": {
84
+ "@protected": true,
85
+ "@id": "untp-core:CredentialIssuer",
86
+ "@context": {
87
+ "@protected": true,
88
+ "issuerAlsoKnownAs": {
89
+ "@id": "untp-core:Party",
90
+ "@type": "@id",
91
+ "@context": {
92
+ "@protected": true,
93
+ "registeredId": {
94
+ "@id": "untp-core:registeredId",
95
+ "@type": "xsd:string"
96
+ },
97
+ "idScheme": {
98
+ "@id": "untp-core:idScheme",
99
+ "@type": "@id"
100
+ }
101
+ }
102
+ }
103
+ }
104
+ },
105
+ "Facility": {
106
+ "@protected": true,
107
+ "@id": "untp-core:Facility",
108
+ "@context": {
109
+ "@protected": true,
110
+ "registeredId": {
111
+ "@id": "untp-core:registeredId",
112
+ "@type": "xsd:string"
113
+ },
114
+ "idScheme": {
115
+ "@id": "untp-core:idScheme",
116
+ "@type": "@id"
117
+ },
118
+ "countryOfOperation": {
119
+ "@id": "untp-core:countryOfOperation",
120
+ "@type": "@vocab",
121
+ "@context": {
122
+ "@protected": true,
123
+ "@vocab": "https://vocabulary.uncefact.org/CountryId#"
124
+ }
125
+ },
126
+ "processCategory": {
127
+ "@id": "untp-core:processCategory",
128
+ "@type": "@id"
129
+ },
130
+ "operatedByParty": {
131
+ "@id": "untp-core:Party",
132
+ "@type": "@id",
133
+ "@context": {
134
+ "@protected": true,
135
+ "registeredId": {
136
+ "@id": "untp-core:registeredId",
137
+ "@type": "xsd:string"
138
+ },
139
+ "idScheme": {
140
+ "@id": "untp-core:idScheme",
141
+ "@type": "@id"
142
+ }
143
+ }
144
+ },
145
+ "facilityAlsoKnownAs": {
146
+ "@id": "untp-core:Facility",
147
+ "@type": "@id",
148
+ "@context": {
149
+ "@protected": true,
150
+ "registeredId": {
151
+ "@id": "untp-core:registeredId",
152
+ "@type": "xsd:string"
153
+ },
154
+ "idScheme": {
155
+ "@id": "untp-core:idScheme",
156
+ "@type": "@id"
157
+ }
158
+ }
159
+ },
160
+ "locationInformation": {
161
+ "@protected": true,
162
+ "@id": "untp-core:locationInformation",
163
+ "@context": {
164
+ "@protected": true,
165
+ "plusCode": {
166
+ "@id": "untp-core:plusCode",
167
+ "@type": "xsd:string"
168
+ },
169
+ "geoLocation": {
170
+ "@protected": true,
171
+ "@id": "geojson:geoLocation",
172
+ "@context": {
173
+ "@protected": true,
174
+ "type": {
175
+ "@id": "geojson:type",
176
+ "@type": "xsd:string"
177
+ },
178
+ "coordinates": {
179
+ "@protected": true,
180
+ "@id": "geojson:coordinates",
181
+ "@context": {
182
+ "@protected": true,
183
+ "data": {
184
+ "@id": "geojson:data",
185
+ "@type": "xsd:decimal"
186
+ }
187
+ }
188
+ }
189
+ }
190
+ },
191
+ "geoBoundary": {
192
+ "@protected": true,
193
+ "@id": "geojson:geoBoundary",
194
+ "@context": {
195
+ "@protected": true,
196
+ "type": {
197
+ "@id": "geojson:type",
198
+ "@type": "xsd:string"
199
+ },
200
+ "coordinates": {
201
+ "@protected": true,
202
+ "@id": "geojson:coordinates",
203
+ "@context": {
204
+ "@protected": true,
205
+ "data": {
206
+ "@protected": true,
207
+ "@id": "geojson:data",
208
+ "@context": {
209
+ "@protected": true,
210
+ "data": {
211
+ "@id": "geojson:data",
212
+ "@type": "xsd:decimal"
213
+ }
214
+ }
215
+ }
216
+ }
217
+ }
218
+ }
219
+ }
220
+ }
221
+ },
222
+ "address": {
223
+ "@protected": true,
224
+ "@id": "untp-core:address",
225
+ "@context": {
226
+ "@protected": true,
227
+ "streetAddress": {
228
+ "@id": "untp-core:streetAddress",
229
+ "@type": "xsd:string"
230
+ },
231
+ "postalCode": {
232
+ "@id": "untp-core:postalCode",
233
+ "@type": "xsd:string"
234
+ },
235
+ "addressLocality": {
236
+ "@id": "untp-core:addressLocality",
237
+ "@type": "xsd:string"
238
+ },
239
+ "addressRegion": {
240
+ "@id": "untp-core:addressRegion",
241
+ "@type": "xsd:string"
242
+ },
243
+ "addressCountry": {
244
+ "@id": "untp-core:addressCountry",
245
+ "@type": "@vocab",
246
+ "@context": {
247
+ "@protected": true,
248
+ "@vocab": "https://vocabulary.uncefact.org/CountryId#"
249
+ }
250
+ }
251
+ }
252
+ }
253
+ }
254
+ },
255
+ "Standard": {
256
+ "@protected": true,
257
+ "@id": "untp-core:Standard",
258
+ "@context": {
259
+ "@protected": true,
260
+ "issuingParty": {
261
+ "@id": "untp-core:Party",
262
+ "@type": "@id",
263
+ "@context": {
264
+ "@protected": true,
265
+ "registeredId": {
266
+ "@id": "untp-core:registeredId",
267
+ "@type": "xsd:string"
268
+ },
269
+ "idScheme": {
270
+ "@id": "untp-core:idScheme",
271
+ "@type": "@id"
272
+ }
273
+ }
274
+ },
275
+ "issueDate": {
276
+ "@id": "untp-core:issueDate",
277
+ "@type": "xsd:string"
278
+ }
279
+ }
280
+ },
281
+ "Regulation": {
282
+ "@protected": true,
283
+ "@id": "untp-core:Regulation",
284
+ "@context": {
285
+ "@protected": true,
286
+ "jurisdictionCountry": {
287
+ "@id": "untp-core:jurisdictionCountry",
288
+ "@type": "@vocab",
289
+ "@context": {
290
+ "@protected": true,
291
+ "@vocab": "https://vocabulary.uncefact.org/CountryId#"
292
+ }
293
+ },
294
+ "administeredBy": {
295
+ "@id": "untp-core:Party",
296
+ "@type": "@id",
297
+ "@context": {
298
+ "@protected": true,
299
+ "registeredId": {
300
+ "@id": "untp-core:registeredId",
301
+ "@type": "xsd:string"
302
+ },
303
+ "idScheme": {
304
+ "@id": "untp-core:idScheme",
305
+ "@type": "@id"
306
+ }
307
+ }
308
+ },
309
+ "effectiveDate": {
310
+ "@id": "untp-core:effectiveDate",
311
+ "@type": "xsd:string"
312
+ }
313
+ }
314
+ },
315
+ "Criterion": {
316
+ "@protected": true,
317
+ "@id": "untp-core:Criterion",
318
+ "@context": {
319
+ "@protected": true,
320
+ "conformityTopic": {
321
+ "@id": "untp-core:conformityTopic",
322
+ "@type": "@vocab",
323
+ "@context": {
324
+ "@protected": true,
325
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/conformityTopicCode#"
326
+ }
327
+ },
328
+ "status": {
329
+ "@id": "untp-core:status",
330
+ "@type": "@vocab",
331
+ "@context": {
332
+ "@protected": true,
333
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/statusCode#"
334
+ }
335
+ },
336
+ "subCriterion": {
337
+ "@id": "untp-core:subCriterion",
338
+ "@type": "@id"
339
+ },
340
+ "thresholdValue": {
341
+ "@protected": true,
342
+ "@id": "untp-core:thresholdValue",
343
+ "@context": {
344
+ "@protected": true,
345
+ "metricName": {
346
+ "@id": "untp-core:metricName",
347
+ "@type": "xsd:string"
348
+ },
349
+ "metricValue": {
350
+ "@protected": true,
351
+ "@id": "untp-core:metricValue",
352
+ "@context": {
353
+ "@protected": true,
354
+ "value": {
355
+ "@id": "untp-core:value",
356
+ "@type": "xsd:decimal"
357
+ },
358
+ "unit": {
359
+ "@id": "untp-core:unit",
360
+ "@type": "@vocab",
361
+ "@context": {
362
+ "@protected": true,
363
+ "@vocab": "https://vocabulary.uncefact.org/UnitMeasureCode#"
364
+ }
365
+ }
366
+ }
367
+ },
368
+ "score": {
369
+ "@id": "untp-core:score",
370
+ "@type": "xsd:string"
371
+ },
372
+ "accuracy": {
373
+ "@id": "untp-core:accuracy",
374
+ "@type": "xsd:decimal"
375
+ }
376
+ }
377
+ },
378
+ "performanceLevel": {
379
+ "@id": "untp-core:performanceLevel",
380
+ "@type": "xsd:string"
381
+ },
382
+ "tags": {
383
+ "@id": "untp-core:tags",
384
+ "@type": "xsd:string"
385
+ }
386
+ }
387
+ },
388
+ "Claim": {
389
+ "@protected": true,
390
+ "@id": "untp-core:Claim",
391
+ "@context": {
392
+ "@protected": true,
393
+ "referenceStandard": {
394
+ "@id": "untp-core:referenceStandard",
395
+ "@type": "@id"
396
+ },
397
+ "referenceRegulation": {
398
+ "@id": "untp-core:referenceRegulation",
399
+ "@type": "@id"
400
+ },
401
+ "assessmentCriteria": {
402
+ "@id": "untp-core:assessmentCriteria",
403
+ "@type": "@id"
404
+ },
405
+ "assessmentDate": {
406
+ "@id": "untp-core:assessmentDate",
407
+ "@type": "xsd:string"
408
+ },
409
+ "declaredValue": {
410
+ "@protected": true,
411
+ "@id": "untp-core:declaredValue",
412
+ "@context": {
413
+ "@protected": true,
414
+ "metricName": {
415
+ "@id": "untp-core:metricName",
416
+ "@type": "xsd:string"
417
+ },
418
+ "metricValue": {
419
+ "@protected": true,
420
+ "@id": "untp-core:metricValue",
421
+ "@context": {
422
+ "@protected": true,
423
+ "value": {
424
+ "@id": "untp-core:value",
425
+ "@type": "xsd:decimal"
426
+ },
427
+ "unit": {
428
+ "@id": "untp-core:unit",
429
+ "@type": "@vocab",
430
+ "@context": {
431
+ "@protected": true,
432
+ "@vocab": "https://vocabulary.uncefact.org/UnitMeasureCode#"
433
+ }
434
+ }
435
+ }
436
+ },
437
+ "score": {
438
+ "@id": "untp-core:score",
439
+ "@type": "xsd:string"
440
+ },
441
+ "accuracy": {
442
+ "@id": "untp-core:accuracy",
443
+ "@type": "xsd:decimal"
444
+ }
445
+ }
446
+ },
447
+ "conformance": {
448
+ "@id": "untp-core:conformance",
449
+ "@type": "xsd:boolean"
450
+ },
451
+ "conformityTopic": {
452
+ "@id": "untp-core:conformityTopic",
453
+ "@type": "@vocab",
454
+ "@context": {
455
+ "@protected": true,
456
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/conformityTopicCode#"
457
+ }
458
+ },
459
+ "conformityEvidence": {
460
+ "@protected": true,
461
+ "@id": "untp-core:conformityEvidence",
462
+ "@context": {
463
+ "@protected": true,
464
+ "linkURL": {
465
+ "@id": "untp-core:linkURL",
466
+ "@type": "xsd:string"
467
+ },
468
+ "linkName": {
469
+ "@id": "untp-core:linkName",
470
+ "@type": "xsd:string"
471
+ },
472
+ "linkType": {
473
+ "@id": "untp-core:linkType",
474
+ "@type": "xsd:string"
475
+ },
476
+ "hashDigest": {
477
+ "@id": "untp-core:hashDigest",
478
+ "@type": "xsd:string"
479
+ },
480
+ "hashMethod": {
481
+ "@id": "untp-core:hashMethod",
482
+ "@type": "@vocab",
483
+ "@context": {
484
+ "@protected": true,
485
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/hashMethodCode#"
486
+ }
487
+ },
488
+ "encryptionMethod": {
489
+ "@id": "untp-core:encryptionMethod",
490
+ "@type": "@vocab",
491
+ "@context": {
492
+ "@protected": true,
493
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/encryptionMethodCode#"
494
+ }
495
+ }
496
+ }
497
+ }
498
+ }
499
+ },
500
+ "FacilityRecord": {
501
+ "@protected": true,
502
+ "@id": "untp-dfr:FacilityRecord",
503
+ "@context": {
504
+ "@protected": true,
505
+ "facility": {
506
+ "@id": "untp-core:facility",
507
+ "@type": "@id"
508
+ },
509
+ "conformityClaim": {
510
+ "@id": "untp-core:conformityClaim",
511
+ "@type": "@id"
512
+ }
513
+ }
514
+ },
515
+ "Declaration": {
516
+ "@protected": true,
517
+ "@id": "untp-core:Declaration",
518
+ "@context": {
519
+ "@protected": true,
520
+ "referenceStandard": {
521
+ "@id": "untp-core:referenceStandard",
522
+ "@type": "@id"
523
+ },
524
+ "referenceRegulation": {
525
+ "@id": "untp-core:referenceRegulation",
526
+ "@type": "@id"
527
+ },
528
+ "assessmentCriteria": {
529
+ "@id": "untp-core:assessmentCriteria",
530
+ "@type": "@id"
531
+ },
532
+ "assessmentDate": {
533
+ "@id": "untp-core:assessmentDate",
534
+ "@type": "xsd:string"
535
+ },
536
+ "declaredValue": {
537
+ "@protected": true,
538
+ "@id": "untp-core:declaredValue",
539
+ "@context": {
540
+ "@protected": true,
541
+ "metricName": {
542
+ "@id": "untp-core:metricName",
543
+ "@type": "xsd:string"
544
+ },
545
+ "metricValue": {
546
+ "@protected": true,
547
+ "@id": "untp-core:metricValue",
548
+ "@context": {
549
+ "@protected": true,
550
+ "value": {
551
+ "@id": "untp-core:value",
552
+ "@type": "xsd:decimal"
553
+ },
554
+ "unit": {
555
+ "@id": "untp-core:unit",
556
+ "@type": "@vocab",
557
+ "@context": {
558
+ "@protected": true,
559
+ "@vocab": "https://vocabulary.uncefact.org/UnitMeasureCode#"
560
+ }
561
+ }
562
+ }
563
+ },
564
+ "score": {
565
+ "@id": "untp-core:score",
566
+ "@type": "xsd:string"
567
+ },
568
+ "accuracy": {
569
+ "@id": "untp-core:accuracy",
570
+ "@type": "xsd:decimal"
571
+ }
572
+ }
573
+ },
574
+ "conformance": {
575
+ "@id": "untp-core:conformance",
576
+ "@type": "xsd:boolean"
577
+ },
578
+ "conformityTopic": {
579
+ "@id": "untp-core:conformityTopic",
580
+ "@type": "@vocab",
581
+ "@context": {
582
+ "@protected": true,
583
+ "@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/conformityTopicCode#"
584
+ }
585
+ }
586
+ }
587
+ },
588
+ "RenderTemplate2024": {
589
+ "@protected": true,
590
+ "@id": "untp-core:RenderTemplate2024",
591
+ "@context": {
592
+ "@protected": true,
593
+ "mediaQuery": {
594
+ "@id": "untp-core:mediaQuery",
595
+ "@type": "xsd:string"
596
+ },
597
+ "template": {
598
+ "@id": "renderMethodPrefix:template",
599
+ "@type": "xsd:string"
600
+ },
601
+ "url": {
602
+ "@id": "renderMethodPrefix:url",
603
+ "@type": "xsd:string"
604
+ }
605
+ }
606
+ },
607
+ "WebRenderingTemplate2022": {
608
+ "@protected": true,
609
+ "@id": "untp-core:WebRenderingTemplate2022",
610
+ "@context": {
611
+ "@protected": true,
612
+ "template": {
613
+ "@id": "renderMethodPrefix:template",
614
+ "@type": "xsd:string"
615
+ }
616
+ }
617
+ }
618
+ }
619
+ }