Skip to content

Commit 81eabd4

Browse files
committed
updated bundled rules for test target
1 parent 4272c7d commit 81eabd4

3 files changed

Lines changed: 12 additions & 41 deletions

File tree

.DS_Store

0 Bytes
Binary file not shown.
Lines changed: 10 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"publishDateTime": "2021-10-05T06:31:14.6109848+00:00",
2+
"publishDateTime": "2021-10-19T23:40:29.6568937+00:00",
33
"ruleSet": [
44
{
55
"mixTypesAllowed": false,
6-
"mixTypesRuRequired": 3,
6+
"mixTypesRuRequired": 2,
77
"ruRequired": 2,
8-
"intervalRequired": true,
9-
"daysSinceLastInterval": 21,
8+
"intervalRequired": false,
9+
"daysSinceLastInterval": 14,
1010
"ruleTarget": "https://phsasmarthealthcard-dev.azurewebsites.net/v1/trusted/.well-known/issuers.json",
1111
"version": "V1",
1212
"vaccinationRules": [
@@ -31,47 +31,17 @@
3131
"ru": 2
3232
},
3333
{
34-
"cvxCode": "211",
35-
"type": 2,
36-
"ru": 1
37-
}
38-
]
39-
},
40-
{
41-
"mixTypesAllowed": true,
42-
"mixTypesRuRequired": 3,
43-
"ruRequired": 4,
44-
"intervalRequired": true,
45-
"daysSinceLastInterval": 10,
46-
"ruleTarget": "https://pvc.service.yukon.ca/test/issuer/.well-known/jwks.json",
47-
"version": "V1",
48-
"vaccinationRules": [
49-
{
50-
"cvxCode": "208",
51-
"type": 1,
52-
"ru": 1
53-
},
54-
{
55-
"cvxCode": "207",
56-
"type": 1,
57-
"ru": 1
58-
},
59-
{
60-
"cvxCode": "210",
61-
"type": 2,
34+
"cvxCode": "511",
35+
"type": 3,
6236
"ru": 1
6337
},
6438
{
65-
"cvxCode": "212",
66-
"type": 2,
67-
"ru": 2
68-
},
69-
{
70-
"cvxCode": "211",
71-
"type": 2,
39+
"cvxCode": "510",
40+
"type": 3,
7241
"ru": 1
7342
}
7443
]
7544
}
76-
]
45+
],
46+
"ruleSetVersion": "V1"
7747
}

Example/BCVaccineValidator/AppDelegate.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88

99
import UIKit
10+
import BCVaccineValidator
1011

1112
@UIApplicationMain
1213
class AppDelegate: UIResponder, UIApplicationDelegate {
@@ -15,7 +16,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1516

1617

1718
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18-
// Override point for customization after application launch.
19+
BCVaccineValidator.shared.setup(mode: .Test)
1920
return true
2021
}
2122

0 commit comments

Comments
 (0)