@pdtf/schemas 3.0.0-3 → 3.0.0-30

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 (39) hide show
  1. package/index.js +15 -13
  2. package/package.json +1 -1
  3. package/src/examples/v3/exampleAddParticipantVouch.json +32 -0
  4. package/src/examples/v3/exampleDocumentedVouch.json +40 -0
  5. package/src/examples/v3/exampleElectronicRecord.json +30 -0
  6. package/src/examples/v3/exampleTransaction.json +713 -665
  7. package/src/examples/v3/exampleVouch.json +25 -0
  8. package/src/schemas/v2/overlays/baspi.json +510 -2331
  9. package/src/schemas/v2/overlays/con29DW.json +36 -125
  10. package/src/schemas/v2/overlays/con29R.json +5 -143
  11. package/src/schemas/v2/overlays/fme1.json +48 -233
  12. package/src/schemas/v2/overlays/lpe1.json +75 -367
  13. package/src/schemas/v2/overlays/nts.json +17 -103
  14. package/src/schemas/v2/overlays/piq.json +146 -693
  15. package/src/schemas/v2/overlays/rds.json +50 -316
  16. package/src/schemas/v2/overlays/ta10.json +540 -1755
  17. package/src/schemas/v2/overlays/ta6.json +241 -1193
  18. package/src/schemas/v2/overlays/ta7.json +106 -440
  19. package/src/schemas/v3/combined.json +22568 -22480
  20. package/src/schemas/v3/overlays/baspi.json +5358 -7480
  21. package/src/schemas/v3/overlays/con29DW.json +537 -615
  22. package/src/schemas/v3/overlays/con29R.json +5 -143
  23. package/src/schemas/v3/overlays/fme1.json +1035 -1215
  24. package/src/schemas/v3/overlays/llc1.json +5 -5
  25. package/src/schemas/v3/overlays/lpe1.json +1782 -2024
  26. package/src/schemas/v3/overlays/nts.json +1393 -1329
  27. package/src/schemas/v3/overlays/oc1.json +821 -821
  28. package/src/schemas/v3/overlays/piq.json +2134 -2884
  29. package/src/schemas/v3/overlays/rds.json +2713 -3284
  30. package/src/schemas/v3/overlays/ta10.json +4786 -5338
  31. package/src/schemas/v3/overlays/ta6.json +2987 -3803
  32. package/src/schemas/v3/overlays/ta7.json +941 -1036
  33. package/src/schemas/v3/pdtf-transaction.json +19590 -18979
  34. package/src/schemas/v3/skeleton.json +2792 -2749
  35. package/src/tests/v3/transactionSchema.test.js +61 -59
  36. package/src/tests/v3/verifiedClaimsValidator.test.js +15 -15
  37. package/src/utils/extractOverlay.js +10 -27
  38. package/src/tests/v2/transactionSchema.test.js +0 -361
  39. package/src/tests/v2/verifiedClaimsValidator.test.js +0 -128
@@ -0,0 +1,25 @@
1
+ {
2
+ "verification": {
3
+ "trust_framework": "uk_pdtf",
4
+ "time": "2022-01-25T13:05:03.108Z",
5
+ "evidence": [
6
+ {
7
+ "type": "vouch",
8
+ "attestation": {
9
+ "type": "digital_attestation",
10
+ "voucher": {
11
+ "name": "Maria Harris"
12
+ }
13
+ },
14
+ "verification_method": {
15
+ "type": "auth"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ "claims": {
21
+ "/propertyPack/delayFactors/hasDelayFactors": {
22
+ "yesNo": "No"
23
+ }
24
+ }
25
+ }