@checkdigit/eslint-plugin 7.18.0-PR.143-b064 → 7.18.0-PR.143-b6d4

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 (40) hide show
  1. package/dist-mjs/athena/athena.mjs +82 -36
  2. package/dist-mjs/athena/visitor.mjs +27 -1
  3. package/dist-mjs/openapi/service-schema-generator.mjs +26 -64
  4. package/dist-types/athena/visitor.d.ts +4 -0
  5. package/package.json +1 -1
  6. package/src/athena/athena.ts +93 -43
  7. package/src/athena/visitor.ts +28 -0
  8. package/src/openapi/service-schema-generator.ts +26 -74
  9. package/src/services/interchange/v1/swagger.schema.deref.json +16 -15
  10. package/src/services/ledger/v1/swagger.schema.deref.json +81 -81
  11. package/src/services/ledger/v2/swagger.schema.deref.json +4119 -0
  12. package/src/services/link/v1/swagger.schema.deref.json +13 -12
  13. package/src/services/link/{v1/swagger.schema.json → v2/swagger.schema.deref.json} +98 -28
  14. package/src/services/message/v1/swagger.schema.deref.json +731 -731
  15. package/src/services/message/v2/swagger.schema.deref.json +1017 -1017
  16. package/src/services/paymentCard/v1/swagger.schema.deref.json +248 -238
  17. package/src/services/paymentCard/v2/swagger.schema.deref.json +257 -274
  18. package/src/services/paymentCard/v3/swagger.schema.deref.json +2843 -0
  19. package/src/services/person/v1/swagger.schema.deref.json +111 -96
  20. package/src/services/person/v2/swagger.schema.deref.json +4931 -0
  21. package/src/services/teampayApproval/v1/swagger.schema.deref.json +2 -165
  22. package/src/services/teampayCardManagement/v1/swagger.schema.deref.json +220 -1768
  23. package/src/services/teampayClientManagement/v1/swagger.schema.deref.json +217 -217
  24. package/src/services/interchange/v1/swagger.schema.json +0 -423
  25. package/src/services/interchange/v1/swagger.yml +0 -414
  26. package/src/services/ledger/v1/swagger.schema.json +0 -1048
  27. package/src/services/ledger/v1/swagger.yml +0 -1094
  28. package/src/services/link/v1/swagger.yml +0 -343
  29. package/src/services/message/v1/swagger.schema.json +0 -2944
  30. package/src/services/message/v1/swagger.yml +0 -2798
  31. package/src/services/message/v2/swagger.schema.json +0 -3040
  32. package/src/services/message/v2/swagger.yml +0 -3009
  33. package/src/services/paymentCard/v1/swagger.schema.json +0 -1687
  34. package/src/services/paymentCard/v1/swagger.yml +0 -1161
  35. package/src/services/paymentCard/v2/swagger.schema.json +0 -1649
  36. package/src/services/paymentCard/v2/swagger.yml +0 -1149
  37. package/src/services/person/v1/swagger.schema.json +0 -979
  38. package/src/services/person/v1/swagger.yml +0 -1157
  39. package/src/services/teampayClientManagement/v1/swagger.schema.json +0 -1598
  40. package/src/services/teampayClientManagement/v1/swagger.yml +0 -1376
@@ -6,7 +6,7 @@
6
6
  "put": {
7
7
  "request": {
8
8
  "$schema": "https://json-schema.org/draft/2020-12/schema",
9
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/DataEncryptionKeyPutRequestContext",
9
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/DataEncryptionKeyPutRequestContext",
10
10
  "type": "object",
11
11
  "properties": {
12
12
  "params": {
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "body": {
31
31
  "$schema": "https://json-schema.org/draft/2020-12/schema",
32
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyRequest",
32
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyRequest",
33
33
  "type": "object",
34
34
  "additionalProperties": false,
35
35
  "required": ["publicKeys"],
@@ -40,7 +40,7 @@
40
40
  "description": "List of public keys in PEM format.\n\nAssociated private keys can be used to decrypt card data encrypted by Payment Card Service.\n",
41
41
  "items": {
42
42
  "$schema": "https://json-schema.org/draft/2020-12/schema",
43
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PublicKey",
43
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PublicKey",
44
44
  "description": "Public key in PEM format",
45
45
  "type": "string",
46
46
  "example": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwm2sxmRdTF7ZIBA6+ngO\n8jOTCHmID0PpQB1q85+hrcLSfB1rWY9bzNNLabBo/ajDnA4Pcadq/x6gpg70qZcR\n9Wxm6TttKzBPZsxasGXgSTDqEi2KcYZgq1mL4qyxUvyIms7/llGy+W9b5huZaVcO\nxdT1tw/zctbOhb6S2t5vH+zkta/2ncUXjG7i8XdLsJ1qe4K1kYbA4KVkOMmAtw7O\n4STk0TZDD0YARdmrciorJjbIVt0Xj1CrYQ5QbDGrlfeXgrcZwX5f9wT2MnKlY5oZ\n5Wtb57oGtLkVf8g6vN/2jGtAmOmHK2hHwNd/+zUet5G/S5uwEli4RgMPP4pUoKgd\nGQIDAQAB\n-----END PUBLIC KEY-----\n"
@@ -55,7 +55,7 @@
55
55
  "responses": {
56
56
  "200": {
57
57
  "$schema": "https://json-schema.org/draft/2020-12/schema",
58
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/DataEncryptionKeyPutResponseOK",
58
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/DataEncryptionKeyPutResponseOK",
59
59
  "type": "object",
60
60
  "properties": {
61
61
  "headers": {
@@ -69,11 +69,12 @@
69
69
  "type": "string",
70
70
  "format": "date-time"
71
71
  }
72
- }
72
+ },
73
+ "required": ["created-on", "updated-on"]
73
74
  },
74
75
  "body": {
75
76
  "$schema": "https://json-schema.org/draft/2020-12/schema",
76
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyResponse",
77
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyResponse",
77
78
  "type": "object",
78
79
  "required": ["encryptedDataEncryptionKeys", "createdOn"],
79
80
  "properties": {
@@ -92,7 +93,7 @@
92
93
  "properties": {
93
94
  "publicKeyHash": {
94
95
  "$schema": "https://json-schema.org/draft/2020-12/schema",
95
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Hash",
96
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Hash",
96
97
  "type": "string",
97
98
  "format": "uuid",
98
99
  "example": "15a85f64-5717-4562-b3fc-2c963f66afa6",
@@ -108,12 +109,12 @@
108
109
  }
109
110
  }
110
111
  },
111
- "required": ["body"],
112
+ "required": ["headers", "body"],
112
113
  "additionalProperties": false
113
114
  },
114
115
  "default": {
115
116
  "$schema": "https://json-schema.org/draft/2020-12/schema",
116
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/DataEncryptionKeyPutResponseDefault",
117
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/DataEncryptionKeyPutResponseDefault",
117
118
  "type": "object",
118
119
  "properties": {
119
120
  "headers": {
@@ -122,7 +123,7 @@
122
123
  },
123
124
  "body": {
124
125
  "$schema": "https://json-schema.org/draft/2020-12/schema",
125
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
126
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
126
127
  "type": "object",
127
128
  "additionalProperties": false,
128
129
  "description": "Server error message",
@@ -147,7 +148,7 @@
147
148
  "put": {
148
149
  "request": {
149
150
  "$schema": "https://json-schema.org/draft/2020-12/schema",
150
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardPutRequestContext",
151
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardPutRequestContext",
151
152
  "type": "object",
152
153
  "properties": {
153
154
  "params": {
@@ -159,7 +160,7 @@
159
160
  },
160
161
  "cardId": {
161
162
  "$schema": "https://json-schema.org/draft/2020-12/schema",
162
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardId",
163
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardId",
163
164
  "type": "string",
164
165
  "description": "Card identifier",
165
166
  "format": "uuid"
@@ -179,14 +180,14 @@
179
180
  },
180
181
  "body": {
181
182
  "$schema": "https://json-schema.org/draft/2020-12/schema",
182
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/NewCardRequest",
183
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/NewCardRequest",
183
184
  "type": "object",
184
185
  "required": ["dataEncryptionKeyId", "cardNumberLength", "newCard"],
185
186
  "additionalProperties": false,
186
187
  "properties": {
187
188
  "dataEncryptionKeyId": {
188
189
  "$schema": "https://json-schema.org/draft/2020-12/schema",
189
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
190
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
190
191
  "type": "string",
191
192
  "description": "Reference to encryption keys Payment Card Service will use to encrypt the Card object.\n",
192
193
  "format": "uuid"
@@ -199,7 +200,7 @@
199
200
  },
200
201
  "newCard": {
201
202
  "$schema": "https://json-schema.org/draft/2020-12/schema",
202
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/NewCard",
203
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/NewCard",
203
204
  "type": "object",
204
205
  "additionalProperties": false,
205
206
  "required": [
@@ -215,7 +216,7 @@
215
216
  "properties": {
216
217
  "bin": {
217
218
  "$schema": "https://json-schema.org/draft/2020-12/schema",
218
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
219
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
219
220
  "type": "string",
220
221
  "pattern": "^\\d+$",
221
222
  "description": "Bank Identification Number",
@@ -224,7 +225,7 @@
224
225
  },
225
226
  "expirationDate": {
226
227
  "$schema": "https://json-schema.org/draft/2020-12/schema",
227
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
228
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
228
229
  "type": "string",
229
230
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
230
231
  "format": "YYMM",
@@ -247,28 +248,28 @@
247
248
  },
248
249
  "state": {
249
250
  "$schema": "https://json-schema.org/draft/2020-12/schema",
250
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
251
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
251
252
  "description": "The current state of the card",
252
253
  "type": "string",
253
254
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
254
255
  },
255
256
  "active": {
256
257
  "$schema": "https://json-schema.org/draft/2020-12/schema",
257
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
258
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
258
259
  "description": "The active/inactive status for the card",
259
260
  "type": "string",
260
261
  "enum": ["INACTIVE", "ACTIVE"]
261
262
  },
262
263
  "block": {
263
264
  "$schema": "https://json-schema.org/draft/2020-12/schema",
264
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
265
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
265
266
  "type": "string",
266
267
  "description": "Whether the card is open or blocked for various reasons",
267
268
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
268
269
  },
269
270
  "lock": {
270
271
  "$schema": "https://json-schema.org/draft/2020-12/schema",
271
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
272
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
272
273
  "type": "string",
273
274
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
274
275
  "enum": ["LOCKED", "UNLOCKED"]
@@ -284,7 +285,7 @@
284
285
  "responses": {
285
286
  "200": {
286
287
  "$schema": "https://json-schema.org/draft/2020-12/schema",
287
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardPutResponseOK",
288
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardPutResponseOK",
288
289
  "type": "object",
289
290
  "properties": {
290
291
  "headers": {
@@ -301,25 +302,26 @@
301
302
  "etag": {
302
303
  "type": "string"
303
304
  }
304
- }
305
+ },
306
+ "required": ["created-on", "updated-on", "etag"]
305
307
  },
306
308
  "body": {
307
309
  "$schema": "https://json-schema.org/draft/2020-12/schema",
308
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardResponse",
310
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardResponse",
309
311
  "type": "object",
310
312
  "additionalProperties": false,
311
313
  "required": ["dataEncryptionKeyId", "storageKeyId", "card"],
312
314
  "properties": {
313
315
  "dataEncryptionKeyId": {
314
316
  "$schema": "https://json-schema.org/draft/2020-12/schema",
315
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
317
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
316
318
  "type": "string",
317
319
  "description": "Reference to encryption keys Payment Card Service will use to encrypt the Card object.\n",
318
320
  "format": "uuid"
319
321
  },
320
322
  "storageKeyId": {
321
323
  "$schema": "https://json-schema.org/draft/2020-12/schema",
322
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StorageKeyId",
324
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StorageKeyId",
323
325
  "type": "string",
324
326
  "description": "DEK's non-derived identifier to be used by Check Digit services only.\n"
325
327
  },
@@ -329,7 +331,7 @@
329
331
  },
330
332
  "card": {
331
333
  "$schema": "https://json-schema.org/draft/2020-12/schema",
332
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Card",
334
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Card",
333
335
  "type": "object",
334
336
  "additionalProperties": false,
335
337
  "required": [
@@ -349,7 +351,7 @@
349
351
  "properties": {
350
352
  "bin": {
351
353
  "$schema": "https://json-schema.org/draft/2020-12/schema",
352
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
354
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
353
355
  "type": "string",
354
356
  "pattern": "^\\d+$",
355
357
  "description": "Bank Identification Number",
@@ -365,7 +367,7 @@
365
367
  },
366
368
  "expirationDate": {
367
369
  "$schema": "https://json-schema.org/draft/2020-12/schema",
368
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
370
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
369
371
  "type": "string",
370
372
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
371
373
  "format": "YYMM",
@@ -394,28 +396,28 @@
394
396
  },
395
397
  "state": {
396
398
  "$schema": "https://json-schema.org/draft/2020-12/schema",
397
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
399
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
398
400
  "description": "The current state of the card",
399
401
  "type": "string",
400
402
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
401
403
  },
402
404
  "active": {
403
405
  "$schema": "https://json-schema.org/draft/2020-12/schema",
404
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
406
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
405
407
  "description": "The active/inactive status for the card",
406
408
  "type": "string",
407
409
  "enum": ["INACTIVE", "ACTIVE"]
408
410
  },
409
411
  "block": {
410
412
  "$schema": "https://json-schema.org/draft/2020-12/schema",
411
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
413
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
412
414
  "type": "string",
413
415
  "description": "Whether the card is open or blocked for various reasons",
414
416
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
415
417
  },
416
418
  "lock": {
417
419
  "$schema": "https://json-schema.org/draft/2020-12/schema",
418
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
420
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
419
421
  "type": "string",
420
422
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
421
423
  "enum": ["LOCKED", "UNLOCKED"]
@@ -433,25 +435,12 @@
433
435
  }
434
436
  }
435
437
  },
436
- "required": ["body"],
438
+ "required": ["headers", "body"],
437
439
  "additionalProperties": false
438
440
  },
439
441
  "409": {
440
442
  "$schema": "https://json-schema.org/draft/2020-12/schema",
441
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardPutResponseConflict",
442
- "type": "object",
443
- "properties": {
444
- "headers": {
445
- "type": "object",
446
- "additionalProperties": true
447
- }
448
- },
449
- "required": [],
450
- "additionalProperties": false
451
- },
452
- "412": {
453
- "$schema": "https://json-schema.org/draft/2020-12/schema",
454
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardPutResponsePreconditionFailed",
443
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardPutResponseConflict",
455
444
  "type": "object",
456
445
  "properties": {
457
446
  "headers": {
@@ -464,7 +453,7 @@
464
453
  },
465
454
  "default": {
466
455
  "$schema": "https://json-schema.org/draft/2020-12/schema",
467
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardPutResponseDefault",
456
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardPutResponseDefault",
468
457
  "type": "object",
469
458
  "properties": {
470
459
  "headers": {
@@ -473,7 +462,7 @@
473
462
  },
474
463
  "body": {
475
464
  "$schema": "https://json-schema.org/draft/2020-12/schema",
476
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
465
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
477
466
  "type": "object",
478
467
  "additionalProperties": false,
479
468
  "description": "Server error message",
@@ -497,7 +486,7 @@
497
486
  "put": {
498
487
  "request": {
499
488
  "$schema": "https://json-schema.org/draft/2020-12/schema",
500
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardNumberPutRequestContext",
489
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardNumberPutRequestContext",
501
490
  "type": "object",
502
491
  "properties": {
503
492
  "params": {
@@ -509,7 +498,7 @@
509
498
  },
510
499
  "cardId": {
511
500
  "$schema": "https://json-schema.org/draft/2020-12/schema",
512
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardId",
501
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardId",
513
502
  "type": "string",
514
503
  "description": "Card identifier",
515
504
  "format": "uuid"
@@ -529,7 +518,7 @@
529
518
  },
530
519
  "body": {
531
520
  "$schema": "https://json-schema.org/draft/2020-12/schema",
532
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/NewCardRequestWithCardNumber",
521
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/NewCardRequestWithCardNumber",
533
522
  "type": "object",
534
523
  "required": ["encryptedCardNumber", "encryptedDataEncryptionKey", "dataEncryptionKeyId", "newCard"],
535
524
  "properties": {
@@ -543,14 +532,14 @@
543
532
  },
544
533
  "dataEncryptionKeyId": {
545
534
  "$schema": "https://json-schema.org/draft/2020-12/schema",
546
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
535
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
547
536
  "type": "string",
548
537
  "description": "Reference to encryption keys Payment Card Service will use to encrypt the Card object.\n",
549
538
  "format": "uuid"
550
539
  },
551
540
  "newCard": {
552
541
  "$schema": "https://json-schema.org/draft/2020-12/schema",
553
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/NewCard",
542
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/NewCard",
554
543
  "type": "object",
555
544
  "additionalProperties": false,
556
545
  "required": [
@@ -566,7 +555,7 @@
566
555
  "properties": {
567
556
  "bin": {
568
557
  "$schema": "https://json-schema.org/draft/2020-12/schema",
569
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
558
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
570
559
  "type": "string",
571
560
  "pattern": "^\\d+$",
572
561
  "description": "Bank Identification Number",
@@ -575,7 +564,7 @@
575
564
  },
576
565
  "expirationDate": {
577
566
  "$schema": "https://json-schema.org/draft/2020-12/schema",
578
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
567
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
579
568
  "type": "string",
580
569
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
581
570
  "format": "YYMM",
@@ -598,28 +587,28 @@
598
587
  },
599
588
  "state": {
600
589
  "$schema": "https://json-schema.org/draft/2020-12/schema",
601
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
590
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
602
591
  "description": "The current state of the card",
603
592
  "type": "string",
604
593
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
605
594
  },
606
595
  "active": {
607
596
  "$schema": "https://json-schema.org/draft/2020-12/schema",
608
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
597
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
609
598
  "description": "The active/inactive status for the card",
610
599
  "type": "string",
611
600
  "enum": ["INACTIVE", "ACTIVE"]
612
601
  },
613
602
  "block": {
614
603
  "$schema": "https://json-schema.org/draft/2020-12/schema",
615
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
604
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
616
605
  "type": "string",
617
606
  "description": "Whether the card is open or blocked for various reasons",
618
607
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
619
608
  },
620
609
  "lock": {
621
610
  "$schema": "https://json-schema.org/draft/2020-12/schema",
622
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
611
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
623
612
  "type": "string",
624
613
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
625
614
  "enum": ["LOCKED", "UNLOCKED"]
@@ -636,7 +625,7 @@
636
625
  "responses": {
637
626
  "200": {
638
627
  "$schema": "https://json-schema.org/draft/2020-12/schema",
639
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardNumberPutResponseOK",
628
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardNumberPutResponseOK",
640
629
  "type": "object",
641
630
  "properties": {
642
631
  "headers": {
@@ -653,25 +642,26 @@
653
642
  "etag": {
654
643
  "type": "string"
655
644
  }
656
- }
645
+ },
646
+ "required": ["created-on", "updated-on", "etag"]
657
647
  },
658
648
  "body": {
659
649
  "$schema": "https://json-schema.org/draft/2020-12/schema",
660
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardResponse",
650
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardResponse",
661
651
  "type": "object",
662
652
  "additionalProperties": false,
663
653
  "required": ["dataEncryptionKeyId", "storageKeyId", "card"],
664
654
  "properties": {
665
655
  "dataEncryptionKeyId": {
666
656
  "$schema": "https://json-schema.org/draft/2020-12/schema",
667
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
657
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
668
658
  "type": "string",
669
659
  "description": "Reference to encryption keys Payment Card Service will use to encrypt the Card object.\n",
670
660
  "format": "uuid"
671
661
  },
672
662
  "storageKeyId": {
673
663
  "$schema": "https://json-schema.org/draft/2020-12/schema",
674
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StorageKeyId",
664
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StorageKeyId",
675
665
  "type": "string",
676
666
  "description": "DEK's non-derived identifier to be used by Check Digit services only.\n"
677
667
  },
@@ -681,7 +671,7 @@
681
671
  },
682
672
  "card": {
683
673
  "$schema": "https://json-schema.org/draft/2020-12/schema",
684
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Card",
674
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Card",
685
675
  "type": "object",
686
676
  "additionalProperties": false,
687
677
  "required": [
@@ -701,7 +691,7 @@
701
691
  "properties": {
702
692
  "bin": {
703
693
  "$schema": "https://json-schema.org/draft/2020-12/schema",
704
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
694
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
705
695
  "type": "string",
706
696
  "pattern": "^\\d+$",
707
697
  "description": "Bank Identification Number",
@@ -717,7 +707,7 @@
717
707
  },
718
708
  "expirationDate": {
719
709
  "$schema": "https://json-schema.org/draft/2020-12/schema",
720
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
710
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
721
711
  "type": "string",
722
712
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
723
713
  "format": "YYMM",
@@ -746,28 +736,28 @@
746
736
  },
747
737
  "state": {
748
738
  "$schema": "https://json-schema.org/draft/2020-12/schema",
749
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
739
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
750
740
  "description": "The current state of the card",
751
741
  "type": "string",
752
742
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
753
743
  },
754
744
  "active": {
755
745
  "$schema": "https://json-schema.org/draft/2020-12/schema",
756
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
746
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
757
747
  "description": "The active/inactive status for the card",
758
748
  "type": "string",
759
749
  "enum": ["INACTIVE", "ACTIVE"]
760
750
  },
761
751
  "block": {
762
752
  "$schema": "https://json-schema.org/draft/2020-12/schema",
763
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
753
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
764
754
  "type": "string",
765
755
  "description": "Whether the card is open or blocked for various reasons",
766
756
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
767
757
  },
768
758
  "lock": {
769
759
  "$schema": "https://json-schema.org/draft/2020-12/schema",
770
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
760
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
771
761
  "type": "string",
772
762
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
773
763
  "enum": ["LOCKED", "UNLOCKED"]
@@ -785,25 +775,12 @@
785
775
  }
786
776
  }
787
777
  },
788
- "required": ["body"],
778
+ "required": ["headers", "body"],
789
779
  "additionalProperties": false
790
780
  },
791
781
  "409": {
792
782
  "$schema": "https://json-schema.org/draft/2020-12/schema",
793
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardNumberPutResponseConflict",
794
- "type": "object",
795
- "properties": {
796
- "headers": {
797
- "type": "object",
798
- "additionalProperties": true
799
- }
800
- },
801
- "required": [],
802
- "additionalProperties": false
803
- },
804
- "412": {
805
- "$schema": "https://json-schema.org/draft/2020-12/schema",
806
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardNumberPutResponsePreconditionFailed",
783
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardNumberPutResponseConflict",
807
784
  "type": "object",
808
785
  "properties": {
809
786
  "headers": {
@@ -816,7 +793,7 @@
816
793
  },
817
794
  "default": {
818
795
  "$schema": "https://json-schema.org/draft/2020-12/schema",
819
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardNumberPutResponseDefault",
796
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardNumberPutResponseDefault",
820
797
  "type": "object",
821
798
  "properties": {
822
799
  "headers": {
@@ -825,7 +802,7 @@
825
802
  },
826
803
  "body": {
827
804
  "$schema": "https://json-schema.org/draft/2020-12/schema",
828
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
805
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
829
806
  "type": "object",
830
807
  "additionalProperties": false,
831
808
  "description": "Server error message",
@@ -849,7 +826,7 @@
849
826
  "put": {
850
827
  "request": {
851
828
  "$schema": "https://json-schema.org/draft/2020-12/schema",
852
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardActivePutRequestContext",
829
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardActivePutRequestContext",
853
830
  "type": "object",
854
831
  "properties": {
855
832
  "params": {
@@ -861,14 +838,14 @@
861
838
  },
862
839
  "cardId": {
863
840
  "$schema": "https://json-schema.org/draft/2020-12/schema",
864
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardId",
841
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardId",
865
842
  "type": "string",
866
843
  "description": "Card identifier",
867
844
  "format": "uuid"
868
845
  },
869
846
  "activeStatus": {
870
847
  "$schema": "https://json-schema.org/draft/2020-12/schema",
871
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
848
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
872
849
  "description": "The active/inactive status for the card",
873
850
  "type": "string",
874
851
  "enum": ["INACTIVE", "ACTIVE"]
@@ -897,7 +874,7 @@
897
874
  "responses": {
898
875
  "204": {
899
876
  "$schema": "https://json-schema.org/draft/2020-12/schema",
900
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardActivePutResponseNoContent",
877
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardActivePutResponseNoContent",
901
878
  "type": "object",
902
879
  "properties": {
903
880
  "headers": {
@@ -914,15 +891,16 @@
914
891
  "etag": {
915
892
  "type": "string"
916
893
  }
917
- }
894
+ },
895
+ "required": ["created-on", "updated-on", "etag"]
918
896
  }
919
897
  },
920
- "required": [],
898
+ "required": ["headers"],
921
899
  "additionalProperties": false
922
900
  },
923
901
  "409": {
924
902
  "$schema": "https://json-schema.org/draft/2020-12/schema",
925
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardActivePutResponseConflict",
903
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardActivePutResponseConflict",
926
904
  "type": "object",
927
905
  "properties": {
928
906
  "headers": {
@@ -935,7 +913,7 @@
935
913
  },
936
914
  "412": {
937
915
  "$schema": "https://json-schema.org/draft/2020-12/schema",
938
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardActivePutResponsePreconditionFailed",
916
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardActivePutResponsePreconditionFailed",
939
917
  "type": "object",
940
918
  "properties": {
941
919
  "headers": {
@@ -948,7 +926,7 @@
948
926
  },
949
927
  "422": {
950
928
  "$schema": "https://json-schema.org/draft/2020-12/schema",
951
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardActivePutResponseUnprocessableEntity",
929
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardActivePutResponseUnprocessableEntity",
952
930
  "type": "object",
953
931
  "properties": {
954
932
  "headers": {
@@ -957,7 +935,7 @@
957
935
  },
958
936
  "body": {
959
937
  "$schema": "https://json-schema.org/draft/2020-12/schema",
960
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
938
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
961
939
  "type": "object",
962
940
  "additionalProperties": false,
963
941
  "description": "Server error message",
@@ -976,7 +954,7 @@
976
954
  },
977
955
  "default": {
978
956
  "$schema": "https://json-schema.org/draft/2020-12/schema",
979
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardActivePutResponseDefault",
957
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardActivePutResponseDefault",
980
958
  "type": "object",
981
959
  "properties": {
982
960
  "headers": {
@@ -985,7 +963,7 @@
985
963
  },
986
964
  "body": {
987
965
  "$schema": "https://json-schema.org/draft/2020-12/schema",
988
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
966
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
989
967
  "type": "object",
990
968
  "additionalProperties": false,
991
969
  "description": "Server error message",
@@ -1009,7 +987,7 @@
1009
987
  "put": {
1010
988
  "request": {
1011
989
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1012
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardBlockPutRequestContext",
990
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardBlockPutRequestContext",
1013
991
  "type": "object",
1014
992
  "properties": {
1015
993
  "params": {
@@ -1021,14 +999,14 @@
1021
999
  },
1022
1000
  "cardId": {
1023
1001
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1024
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardId",
1002
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardId",
1025
1003
  "type": "string",
1026
1004
  "description": "Card identifier",
1027
1005
  "format": "uuid"
1028
1006
  },
1029
1007
  "blockStatus": {
1030
1008
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1031
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
1009
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
1032
1010
  "type": "string",
1033
1011
  "description": "Whether the card is open or blocked for various reasons",
1034
1012
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
@@ -1057,7 +1035,7 @@
1057
1035
  "responses": {
1058
1036
  "204": {
1059
1037
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1060
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardBlockPutResponseNoContent",
1038
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardBlockPutResponseNoContent",
1061
1039
  "type": "object",
1062
1040
  "properties": {
1063
1041
  "headers": {
@@ -1074,15 +1052,16 @@
1074
1052
  "etag": {
1075
1053
  "type": "string"
1076
1054
  }
1077
- }
1055
+ },
1056
+ "required": ["created-on", "updated-on", "etag"]
1078
1057
  }
1079
1058
  },
1080
- "required": [],
1059
+ "required": ["headers"],
1081
1060
  "additionalProperties": false
1082
1061
  },
1083
1062
  "409": {
1084
1063
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1085
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardBlockPutResponseConflict",
1064
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardBlockPutResponseConflict",
1086
1065
  "type": "object",
1087
1066
  "properties": {
1088
1067
  "headers": {
@@ -1095,7 +1074,7 @@
1095
1074
  },
1096
1075
  "412": {
1097
1076
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1098
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardBlockPutResponsePreconditionFailed",
1077
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardBlockPutResponsePreconditionFailed",
1099
1078
  "type": "object",
1100
1079
  "properties": {
1101
1080
  "headers": {
@@ -1108,7 +1087,7 @@
1108
1087
  },
1109
1088
  "422": {
1110
1089
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1111
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardBlockPutResponseUnprocessableEntity",
1090
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardBlockPutResponseUnprocessableEntity",
1112
1091
  "type": "object",
1113
1092
  "properties": {
1114
1093
  "headers": {
@@ -1117,7 +1096,7 @@
1117
1096
  },
1118
1097
  "body": {
1119
1098
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1120
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
1099
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
1121
1100
  "type": "object",
1122
1101
  "additionalProperties": false,
1123
1102
  "description": "Server error message",
@@ -1136,7 +1115,7 @@
1136
1115
  },
1137
1116
  "default": {
1138
1117
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1139
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardBlockPutResponseDefault",
1118
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardBlockPutResponseDefault",
1140
1119
  "type": "object",
1141
1120
  "properties": {
1142
1121
  "headers": {
@@ -1145,7 +1124,7 @@
1145
1124
  },
1146
1125
  "body": {
1147
1126
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1148
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
1127
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
1149
1128
  "type": "object",
1150
1129
  "additionalProperties": false,
1151
1130
  "description": "Server error message",
@@ -1169,7 +1148,7 @@
1169
1148
  "put": {
1170
1149
  "request": {
1171
1150
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1172
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardCapturePutRequestContext",
1151
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardCapturePutRequestContext",
1173
1152
  "type": "object",
1174
1153
  "properties": {
1175
1154
  "params": {
@@ -1181,7 +1160,7 @@
1181
1160
  },
1182
1161
  "cardId": {
1183
1162
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1184
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardId",
1163
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardId",
1185
1164
  "type": "string",
1186
1165
  "description": "Card identifier",
1187
1166
  "format": "uuid"
@@ -1213,7 +1192,7 @@
1213
1192
  "responses": {
1214
1193
  "204": {
1215
1194
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1216
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardCapturePutResponseNoContent",
1195
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardCapturePutResponseNoContent",
1217
1196
  "type": "object",
1218
1197
  "properties": {
1219
1198
  "headers": {
@@ -1230,15 +1209,16 @@
1230
1209
  "etag": {
1231
1210
  "type": "string"
1232
1211
  }
1233
- }
1212
+ },
1213
+ "required": ["created-on", "updated-on", "etag"]
1234
1214
  }
1235
1215
  },
1236
- "required": [],
1216
+ "required": ["headers"],
1237
1217
  "additionalProperties": false
1238
1218
  },
1239
1219
  "409": {
1240
1220
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1241
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardCapturePutResponseConflict",
1221
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardCapturePutResponseConflict",
1242
1222
  "type": "object",
1243
1223
  "properties": {
1244
1224
  "headers": {
@@ -1251,7 +1231,7 @@
1251
1231
  },
1252
1232
  "412": {
1253
1233
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1254
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardCapturePutResponsePreconditionFailed",
1234
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardCapturePutResponsePreconditionFailed",
1255
1235
  "type": "object",
1256
1236
  "properties": {
1257
1237
  "headers": {
@@ -1264,7 +1244,7 @@
1264
1244
  },
1265
1245
  "422": {
1266
1246
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1267
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardCapturePutResponseUnprocessableEntity",
1247
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardCapturePutResponseUnprocessableEntity",
1268
1248
  "type": "object",
1269
1249
  "properties": {
1270
1250
  "headers": {
@@ -1273,7 +1253,7 @@
1273
1253
  },
1274
1254
  "body": {
1275
1255
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1276
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
1256
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
1277
1257
  "type": "object",
1278
1258
  "additionalProperties": false,
1279
1259
  "description": "Server error message",
@@ -1292,7 +1272,7 @@
1292
1272
  },
1293
1273
  "default": {
1294
1274
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1295
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardCapturePutResponseDefault",
1275
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardCapturePutResponseDefault",
1296
1276
  "type": "object",
1297
1277
  "properties": {
1298
1278
  "headers": {
@@ -1301,7 +1281,7 @@
1301
1281
  },
1302
1282
  "body": {
1303
1283
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1304
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
1284
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
1305
1285
  "type": "object",
1306
1286
  "additionalProperties": false,
1307
1287
  "description": "Server error message",
@@ -1326,7 +1306,7 @@
1326
1306
  "put": {
1327
1307
  "request": {
1328
1308
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1329
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardLockPutRequestContext",
1309
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardLockPutRequestContext",
1330
1310
  "type": "object",
1331
1311
  "properties": {
1332
1312
  "params": {
@@ -1338,14 +1318,14 @@
1338
1318
  },
1339
1319
  "cardId": {
1340
1320
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1341
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardId",
1321
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardId",
1342
1322
  "type": "string",
1343
1323
  "description": "Card identifier",
1344
1324
  "format": "uuid"
1345
1325
  },
1346
1326
  "lockStatus": {
1347
1327
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1348
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
1328
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
1349
1329
  "type": "string",
1350
1330
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
1351
1331
  "enum": ["LOCKED", "UNLOCKED"]
@@ -1374,7 +1354,7 @@
1374
1354
  "responses": {
1375
1355
  "204": {
1376
1356
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1377
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardLockPutResponseNoContent",
1357
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardLockPutResponseNoContent",
1378
1358
  "type": "object",
1379
1359
  "properties": {
1380
1360
  "headers": {
@@ -1391,15 +1371,16 @@
1391
1371
  "etag": {
1392
1372
  "type": "string"
1393
1373
  }
1394
- }
1374
+ },
1375
+ "required": ["created-on", "updated-on", "etag"]
1395
1376
  }
1396
1377
  },
1397
- "required": [],
1378
+ "required": ["headers"],
1398
1379
  "additionalProperties": false
1399
1380
  },
1400
1381
  "409": {
1401
1382
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1402
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardLockPutResponseConflict",
1383
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardLockPutResponseConflict",
1403
1384
  "type": "object",
1404
1385
  "properties": {
1405
1386
  "headers": {
@@ -1412,7 +1393,7 @@
1412
1393
  },
1413
1394
  "412": {
1414
1395
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1415
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardLockPutResponsePreconditionFailed",
1396
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardLockPutResponsePreconditionFailed",
1416
1397
  "type": "object",
1417
1398
  "properties": {
1418
1399
  "headers": {
@@ -1425,7 +1406,7 @@
1425
1406
  },
1426
1407
  "422": {
1427
1408
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1428
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardLockPutResponseUnprocessableEntity",
1409
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardLockPutResponseUnprocessableEntity",
1429
1410
  "type": "object",
1430
1411
  "properties": {
1431
1412
  "headers": {
@@ -1434,7 +1415,7 @@
1434
1415
  },
1435
1416
  "body": {
1436
1417
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1437
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
1418
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
1438
1419
  "type": "object",
1439
1420
  "additionalProperties": false,
1440
1421
  "description": "Server error message",
@@ -1453,7 +1434,7 @@
1453
1434
  },
1454
1435
  "default": {
1455
1436
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1456
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardLockPutResponseDefault",
1437
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardLockPutResponseDefault",
1457
1438
  "type": "object",
1458
1439
  "properties": {
1459
1440
  "headers": {
@@ -1462,7 +1443,7 @@
1462
1443
  },
1463
1444
  "body": {
1464
1445
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1465
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
1446
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
1466
1447
  "type": "object",
1467
1448
  "additionalProperties": false,
1468
1449
  "description": "Server error message",
@@ -1486,7 +1467,7 @@
1486
1467
  "put": {
1487
1468
  "request": {
1488
1469
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1489
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardPinOffsetPutRequestContext",
1470
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardPinOffsetPutRequestContext",
1490
1471
  "type": "object",
1491
1472
  "properties": {
1492
1473
  "params": {
@@ -1498,7 +1479,7 @@
1498
1479
  },
1499
1480
  "cardId": {
1500
1481
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1501
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardId",
1482
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardId",
1502
1483
  "type": "string",
1503
1484
  "description": "Card identifier",
1504
1485
  "format": "uuid"
@@ -1522,14 +1503,14 @@
1522
1503
  },
1523
1504
  "body": {
1524
1505
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1525
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PinOffsetRequest",
1506
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PinOffsetRequest",
1526
1507
  "type": "object",
1527
1508
  "additionalProperties": false,
1528
1509
  "required": ["encryptedDataEncryptionKey", "pinOffsetKeyId", "encryptedUserDefinedPin"],
1529
1510
  "properties": {
1530
1511
  "pinOffsetKeyId": {
1531
1512
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1532
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PinOffsetKeyId",
1513
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PinOffsetKeyId",
1533
1514
  "type": "string",
1534
1515
  "format": "uuid",
1535
1516
  "description": "Identifier for the PinOffsetKey used to encrypt the data encryption key."
@@ -1551,7 +1532,7 @@
1551
1532
  "responses": {
1552
1533
  "204": {
1553
1534
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1554
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardPinOffsetPutResponseNoContent",
1535
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardPinOffsetPutResponseNoContent",
1555
1536
  "type": "object",
1556
1537
  "properties": {
1557
1538
  "headers": {
@@ -1568,15 +1549,16 @@
1568
1549
  "etag": {
1569
1550
  "type": "string"
1570
1551
  }
1571
- }
1552
+ },
1553
+ "required": ["created-on", "updated-on", "etag"]
1572
1554
  }
1573
1555
  },
1574
- "required": [],
1556
+ "required": ["headers"],
1575
1557
  "additionalProperties": false
1576
1558
  },
1577
1559
  "409": {
1578
1560
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1579
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardPinOffsetPutResponseConflict",
1561
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardPinOffsetPutResponseConflict",
1580
1562
  "type": "object",
1581
1563
  "properties": {
1582
1564
  "headers": {
@@ -1589,7 +1571,7 @@
1589
1571
  },
1590
1572
  "412": {
1591
1573
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1592
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardPinOffsetPutResponsePreconditionFailed",
1574
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardPinOffsetPutResponsePreconditionFailed",
1593
1575
  "type": "object",
1594
1576
  "properties": {
1595
1577
  "headers": {
@@ -1602,7 +1584,7 @@
1602
1584
  },
1603
1585
  "default": {
1604
1586
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1605
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardPinOffsetPutResponseDefault",
1587
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardPinOffsetPutResponseDefault",
1606
1588
  "type": "object",
1607
1589
  "properties": {
1608
1590
  "headers": {
@@ -1611,7 +1593,7 @@
1611
1593
  },
1612
1594
  "body": {
1613
1595
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1614
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
1596
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
1615
1597
  "type": "object",
1616
1598
  "additionalProperties": false,
1617
1599
  "description": "Server error message",
@@ -1635,7 +1617,7 @@
1635
1617
  "put": {
1636
1618
  "request": {
1637
1619
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1638
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardStatePutRequestContext",
1620
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardStatePutRequestContext",
1639
1621
  "type": "object",
1640
1622
  "properties": {
1641
1623
  "params": {
@@ -1647,14 +1629,14 @@
1647
1629
  },
1648
1630
  "cardId": {
1649
1631
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1650
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardId",
1632
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardId",
1651
1633
  "type": "string",
1652
1634
  "description": "Card identifier",
1653
1635
  "format": "uuid"
1654
1636
  },
1655
1637
  "stateStatus": {
1656
1638
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1657
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
1639
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
1658
1640
  "description": "The current state of the card",
1659
1641
  "type": "string",
1660
1642
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
@@ -1683,7 +1665,7 @@
1683
1665
  "responses": {
1684
1666
  "204": {
1685
1667
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1686
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardStatePutResponseNoContent",
1668
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardStatePutResponseNoContent",
1687
1669
  "type": "object",
1688
1670
  "properties": {
1689
1671
  "headers": {
@@ -1700,15 +1682,16 @@
1700
1682
  "etag": {
1701
1683
  "type": "string"
1702
1684
  }
1703
- }
1685
+ },
1686
+ "required": ["created-on", "updated-on", "etag"]
1704
1687
  }
1705
1688
  },
1706
- "required": [],
1689
+ "required": ["headers"],
1707
1690
  "additionalProperties": false
1708
1691
  },
1709
1692
  "409": {
1710
1693
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1711
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardStatePutResponseConflict",
1694
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardStatePutResponseConflict",
1712
1695
  "type": "object",
1713
1696
  "properties": {
1714
1697
  "headers": {
@@ -1721,7 +1704,7 @@
1721
1704
  },
1722
1705
  "412": {
1723
1706
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1724
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardStatePutResponsePreconditionFailed",
1707
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardStatePutResponsePreconditionFailed",
1725
1708
  "type": "object",
1726
1709
  "properties": {
1727
1710
  "headers": {
@@ -1734,7 +1717,7 @@
1734
1717
  },
1735
1718
  "422": {
1736
1719
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1737
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardStatePutResponseUnprocessableEntity",
1720
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardStatePutResponseUnprocessableEntity",
1738
1721
  "type": "object",
1739
1722
  "properties": {
1740
1723
  "headers": {
@@ -1743,7 +1726,7 @@
1743
1726
  },
1744
1727
  "body": {
1745
1728
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1746
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
1729
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
1747
1730
  "type": "object",
1748
1731
  "additionalProperties": false,
1749
1732
  "description": "Server error message",
@@ -1762,7 +1745,7 @@
1762
1745
  },
1763
1746
  "default": {
1764
1747
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1765
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardStatePutResponseDefault",
1748
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/CardStatePutResponseDefault",
1766
1749
  "type": "object",
1767
1750
  "properties": {
1768
1751
  "headers": {
@@ -1771,7 +1754,7 @@
1771
1754
  },
1772
1755
  "body": {
1773
1756
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1774
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
1757
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
1775
1758
  "type": "object",
1776
1759
  "additionalProperties": false,
1777
1760
  "description": "Server error message",
@@ -1796,7 +1779,7 @@
1796
1779
  "put": {
1797
1780
  "request": {
1798
1781
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1799
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/PinOffsetKeyPutRequestContext",
1782
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/PinOffsetKeyPutRequestContext",
1800
1783
  "type": "object",
1801
1784
  "properties": {
1802
1785
  "params": {
@@ -1808,7 +1791,7 @@
1808
1791
  },
1809
1792
  "pinOffsetKeyId": {
1810
1793
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1811
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PinOffsetKeyId",
1794
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PinOffsetKeyId",
1812
1795
  "type": "string",
1813
1796
  "format": "uuid",
1814
1797
  "description": "Identifier for the PinOffsetKey used to encrypt the data encryption key."
@@ -1827,7 +1810,7 @@
1827
1810
  "responses": {
1828
1811
  "200": {
1829
1812
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1830
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/PinOffsetKeyPutResponseOK",
1813
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/PinOffsetKeyPutResponseOK",
1831
1814
  "type": "object",
1832
1815
  "properties": {
1833
1816
  "headers": {
@@ -1836,7 +1819,7 @@
1836
1819
  },
1837
1820
  "body": {
1838
1821
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1839
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PinOffsetKey",
1822
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PinOffsetKey",
1840
1823
  "type": "object",
1841
1824
  "additionalProperties": false,
1842
1825
  "required": ["transmissionKey"],
@@ -1853,7 +1836,7 @@
1853
1836
  },
1854
1837
  "default": {
1855
1838
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1856
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/PinOffsetKeyPutResponseDefault",
1839
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/api/PinOffsetKeyPutResponseDefault",
1857
1840
  "type": "object",
1858
1841
  "properties": {
1859
1842
  "headers": {
@@ -1862,7 +1845,7 @@
1862
1845
  },
1863
1846
  "body": {
1864
1847
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1865
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
1848
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
1866
1849
  "type": "object",
1867
1850
  "additionalProperties": false,
1868
1851
  "description": "Server error message",
@@ -1886,14 +1869,14 @@
1886
1869
  "definitions": {
1887
1870
  "ActiveStatus": {
1888
1871
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1889
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
1872
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
1890
1873
  "description": "The active/inactive status for the card",
1891
1874
  "type": "string",
1892
1875
  "enum": ["INACTIVE", "ACTIVE"]
1893
1876
  },
1894
1877
  "Bin": {
1895
1878
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1896
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
1879
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
1897
1880
  "type": "string",
1898
1881
  "pattern": "^\\d+$",
1899
1882
  "description": "Bank Identification Number",
@@ -1902,14 +1885,14 @@
1902
1885
  },
1903
1886
  "BlockStatus": {
1904
1887
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1905
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
1888
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
1906
1889
  "type": "string",
1907
1890
  "description": "Whether the card is open or blocked for various reasons",
1908
1891
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
1909
1892
  },
1910
1893
  "Card": {
1911
1894
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1912
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Card",
1895
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Card",
1913
1896
  "type": "object",
1914
1897
  "additionalProperties": false,
1915
1898
  "required": [
@@ -1929,7 +1912,7 @@
1929
1912
  "properties": {
1930
1913
  "bin": {
1931
1914
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1932
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
1915
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
1933
1916
  "type": "string",
1934
1917
  "pattern": "^\\d+$",
1935
1918
  "description": "Bank Identification Number",
@@ -1945,7 +1928,7 @@
1945
1928
  },
1946
1929
  "expirationDate": {
1947
1930
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1948
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
1931
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
1949
1932
  "type": "string",
1950
1933
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
1951
1934
  "format": "YYMM",
@@ -1974,28 +1957,28 @@
1974
1957
  },
1975
1958
  "state": {
1976
1959
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1977
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
1960
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
1978
1961
  "description": "The current state of the card",
1979
1962
  "type": "string",
1980
1963
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
1981
1964
  },
1982
1965
  "active": {
1983
1966
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1984
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
1967
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
1985
1968
  "description": "The active/inactive status for the card",
1986
1969
  "type": "string",
1987
1970
  "enum": ["INACTIVE", "ACTIVE"]
1988
1971
  },
1989
1972
  "block": {
1990
1973
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1991
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
1974
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
1992
1975
  "type": "string",
1993
1976
  "description": "Whether the card is open or blocked for various reasons",
1994
1977
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
1995
1978
  },
1996
1979
  "lock": {
1997
1980
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1998
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
1981
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
1999
1982
  "type": "string",
2000
1983
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
2001
1984
  "enum": ["LOCKED", "UNLOCKED"]
@@ -2012,14 +1995,14 @@
2012
1995
  },
2013
1996
  "CardUpdate": {
2014
1997
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2015
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardUpdate",
1998
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardUpdate",
2016
1999
  "type": "object",
2017
2000
  "additionalProperties": false,
2018
2001
  "required": ["card", "updatedOn", "createdOn"],
2019
2002
  "properties": {
2020
2003
  "card": {
2021
2004
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2022
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Card",
2005
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Card",
2023
2006
  "type": "object",
2024
2007
  "additionalProperties": false,
2025
2008
  "required": [
@@ -2039,7 +2022,7 @@
2039
2022
  "properties": {
2040
2023
  "bin": {
2041
2024
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2042
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
2025
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
2043
2026
  "type": "string",
2044
2027
  "pattern": "^\\d+$",
2045
2028
  "description": "Bank Identification Number",
@@ -2055,7 +2038,7 @@
2055
2038
  },
2056
2039
  "expirationDate": {
2057
2040
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2058
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2041
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2059
2042
  "type": "string",
2060
2043
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
2061
2044
  "format": "YYMM",
@@ -2084,28 +2067,28 @@
2084
2067
  },
2085
2068
  "state": {
2086
2069
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2087
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
2070
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
2088
2071
  "description": "The current state of the card",
2089
2072
  "type": "string",
2090
2073
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
2091
2074
  },
2092
2075
  "active": {
2093
2076
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2094
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
2077
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
2095
2078
  "description": "The active/inactive status for the card",
2096
2079
  "type": "string",
2097
2080
  "enum": ["INACTIVE", "ACTIVE"]
2098
2081
  },
2099
2082
  "block": {
2100
2083
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2101
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
2084
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
2102
2085
  "type": "string",
2103
2086
  "description": "Whether the card is open or blocked for various reasons",
2104
2087
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
2105
2088
  },
2106
2089
  "lock": {
2107
2090
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2108
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2091
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2109
2092
  "type": "string",
2110
2093
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
2111
2094
  "enum": ["LOCKED", "UNLOCKED"]
@@ -2134,21 +2117,21 @@
2134
2117
  },
2135
2118
  "CardResponse": {
2136
2119
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2137
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardResponse",
2120
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardResponse",
2138
2121
  "type": "object",
2139
2122
  "additionalProperties": false,
2140
2123
  "required": ["dataEncryptionKeyId", "storageKeyId", "card"],
2141
2124
  "properties": {
2142
2125
  "dataEncryptionKeyId": {
2143
2126
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2144
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
2127
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
2145
2128
  "type": "string",
2146
2129
  "description": "Reference to encryption keys Payment Card Service will use to encrypt the Card object.\n",
2147
2130
  "format": "uuid"
2148
2131
  },
2149
2132
  "storageKeyId": {
2150
2133
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2151
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StorageKeyId",
2134
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StorageKeyId",
2152
2135
  "type": "string",
2153
2136
  "description": "DEK's non-derived identifier to be used by Check Digit services only.\n"
2154
2137
  },
@@ -2158,7 +2141,7 @@
2158
2141
  },
2159
2142
  "card": {
2160
2143
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2161
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Card",
2144
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Card",
2162
2145
  "type": "object",
2163
2146
  "additionalProperties": false,
2164
2147
  "required": [
@@ -2178,7 +2161,7 @@
2178
2161
  "properties": {
2179
2162
  "bin": {
2180
2163
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2181
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
2164
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
2182
2165
  "type": "string",
2183
2166
  "pattern": "^\\d+$",
2184
2167
  "description": "Bank Identification Number",
@@ -2194,7 +2177,7 @@
2194
2177
  },
2195
2178
  "expirationDate": {
2196
2179
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2197
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2180
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2198
2181
  "type": "string",
2199
2182
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
2200
2183
  "format": "YYMM",
@@ -2223,28 +2206,28 @@
2223
2206
  },
2224
2207
  "state": {
2225
2208
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2226
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
2209
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
2227
2210
  "description": "The current state of the card",
2228
2211
  "type": "string",
2229
2212
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
2230
2213
  },
2231
2214
  "active": {
2232
2215
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2233
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
2216
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
2234
2217
  "description": "The active/inactive status for the card",
2235
2218
  "type": "string",
2236
2219
  "enum": ["INACTIVE", "ACTIVE"]
2237
2220
  },
2238
2221
  "block": {
2239
2222
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2240
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
2223
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
2241
2224
  "type": "string",
2242
2225
  "description": "Whether the card is open or blocked for various reasons",
2243
2226
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
2244
2227
  },
2245
2228
  "lock": {
2246
2229
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2247
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2230
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2248
2231
  "type": "string",
2249
2232
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
2250
2233
  "enum": ["LOCKED", "UNLOCKED"]
@@ -2263,21 +2246,21 @@
2263
2246
  },
2264
2247
  "CardQueryResponse": {
2265
2248
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2266
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardQueryResponse",
2249
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardQueryResponse",
2267
2250
  "type": "object",
2268
2251
  "additionalProperties": false,
2269
2252
  "required": ["dataEncryptionKeyId", "storageKeyId", "cardId", "card", "updatedOn", "createdOn"],
2270
2253
  "properties": {
2271
2254
  "dataEncryptionKeyId": {
2272
2255
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2273
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
2256
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
2274
2257
  "type": "string",
2275
2258
  "description": "Reference to encryption keys Payment Card Service will use to encrypt the Card object.\n",
2276
2259
  "format": "uuid"
2277
2260
  },
2278
2261
  "storageKeyId": {
2279
2262
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2280
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StorageKeyId",
2263
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StorageKeyId",
2281
2264
  "type": "string",
2282
2265
  "description": "DEK's non-derived identifier to be used by Check Digit services only.\n"
2283
2266
  },
@@ -2287,14 +2270,14 @@
2287
2270
  },
2288
2271
  "cardId": {
2289
2272
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2290
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardId",
2273
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardId",
2291
2274
  "type": "string",
2292
2275
  "description": "Card identifier",
2293
2276
  "format": "uuid"
2294
2277
  },
2295
2278
  "card": {
2296
2279
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2297
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Card",
2280
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Card",
2298
2281
  "type": "object",
2299
2282
  "additionalProperties": false,
2300
2283
  "required": [
@@ -2314,7 +2297,7 @@
2314
2297
  "properties": {
2315
2298
  "bin": {
2316
2299
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2317
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
2300
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
2318
2301
  "type": "string",
2319
2302
  "pattern": "^\\d+$",
2320
2303
  "description": "Bank Identification Number",
@@ -2330,7 +2313,7 @@
2330
2313
  },
2331
2314
  "expirationDate": {
2332
2315
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2333
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2316
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2334
2317
  "type": "string",
2335
2318
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
2336
2319
  "format": "YYMM",
@@ -2359,28 +2342,28 @@
2359
2342
  },
2360
2343
  "state": {
2361
2344
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2362
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
2345
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
2363
2346
  "description": "The current state of the card",
2364
2347
  "type": "string",
2365
2348
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
2366
2349
  },
2367
2350
  "active": {
2368
2351
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2369
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
2352
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
2370
2353
  "description": "The active/inactive status for the card",
2371
2354
  "type": "string",
2372
2355
  "enum": ["INACTIVE", "ACTIVE"]
2373
2356
  },
2374
2357
  "block": {
2375
2358
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2376
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
2359
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
2377
2360
  "type": "string",
2378
2361
  "description": "Whether the card is open or blocked for various reasons",
2379
2362
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
2380
2363
  },
2381
2364
  "lock": {
2382
2365
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2383
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2366
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2384
2367
  "type": "string",
2385
2368
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
2386
2369
  "enum": ["LOCKED", "UNLOCKED"]
@@ -2409,14 +2392,14 @@
2409
2392
  },
2410
2393
  "CardId": {
2411
2394
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2412
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardId",
2395
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardId",
2413
2396
  "type": "string",
2414
2397
  "description": "Card identifier",
2415
2398
  "format": "uuid"
2416
2399
  },
2417
2400
  "Query": {
2418
2401
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2419
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Query",
2402
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Query",
2420
2403
  "description": "Response from querying /card by cardNumberHash",
2421
2404
  "type": "object",
2422
2405
  "required": ["cards"],
@@ -2426,21 +2409,21 @@
2426
2409
  "minItems": 0,
2427
2410
  "items": {
2428
2411
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2429
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardQueryResponse",
2412
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardQueryResponse",
2430
2413
  "type": "object",
2431
2414
  "additionalProperties": false,
2432
2415
  "required": ["dataEncryptionKeyId", "storageKeyId", "cardId", "card", "updatedOn", "createdOn"],
2433
2416
  "properties": {
2434
2417
  "dataEncryptionKeyId": {
2435
2418
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2436
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
2419
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
2437
2420
  "type": "string",
2438
2421
  "description": "Reference to encryption keys Payment Card Service will use to encrypt the Card object.\n",
2439
2422
  "format": "uuid"
2440
2423
  },
2441
2424
  "storageKeyId": {
2442
2425
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2443
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StorageKeyId",
2426
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StorageKeyId",
2444
2427
  "type": "string",
2445
2428
  "description": "DEK's non-derived identifier to be used by Check Digit services only.\n"
2446
2429
  },
@@ -2450,14 +2433,14 @@
2450
2433
  },
2451
2434
  "cardId": {
2452
2435
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2453
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardId",
2436
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardId",
2454
2437
  "type": "string",
2455
2438
  "description": "Card identifier",
2456
2439
  "format": "uuid"
2457
2440
  },
2458
2441
  "card": {
2459
2442
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2460
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Card",
2443
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Card",
2461
2444
  "type": "object",
2462
2445
  "additionalProperties": false,
2463
2446
  "required": [
@@ -2477,7 +2460,7 @@
2477
2460
  "properties": {
2478
2461
  "bin": {
2479
2462
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2480
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
2463
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
2481
2464
  "type": "string",
2482
2465
  "pattern": "^\\d+$",
2483
2466
  "description": "Bank Identification Number",
@@ -2493,7 +2476,7 @@
2493
2476
  },
2494
2477
  "expirationDate": {
2495
2478
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2496
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2479
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2497
2480
  "type": "string",
2498
2481
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
2499
2482
  "format": "YYMM",
@@ -2522,28 +2505,28 @@
2522
2505
  },
2523
2506
  "state": {
2524
2507
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2525
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
2508
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
2526
2509
  "description": "The current state of the card",
2527
2510
  "type": "string",
2528
2511
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
2529
2512
  },
2530
2513
  "active": {
2531
2514
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2532
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
2515
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
2533
2516
  "description": "The active/inactive status for the card",
2534
2517
  "type": "string",
2535
2518
  "enum": ["INACTIVE", "ACTIVE"]
2536
2519
  },
2537
2520
  "block": {
2538
2521
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2539
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
2522
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
2540
2523
  "type": "string",
2541
2524
  "description": "Whether the card is open or blocked for various reasons",
2542
2525
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
2543
2526
  },
2544
2527
  "lock": {
2545
2528
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2546
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2529
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2547
2530
  "type": "string",
2548
2531
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
2549
2532
  "enum": ["LOCKED", "UNLOCKED"]
@@ -2575,14 +2558,14 @@
2575
2558
  },
2576
2559
  "CardNumberRequest": {
2577
2560
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2578
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardNumberRequest",
2561
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardNumberRequest",
2579
2562
  "type": "object",
2580
2563
  "additionalProperties": false,
2581
2564
  "required": ["publicKey"],
2582
2565
  "properties": {
2583
2566
  "publicKey": {
2584
2567
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2585
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PublicKey",
2568
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PublicKey",
2586
2569
  "description": "Public key in PEM format",
2587
2570
  "type": "string",
2588
2571
  "example": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwm2sxmRdTF7ZIBA6+ngO\n8jOTCHmID0PpQB1q85+hrcLSfB1rWY9bzNNLabBo/ajDnA4Pcadq/x6gpg70qZcR\n9Wxm6TttKzBPZsxasGXgSTDqEi2KcYZgq1mL4qyxUvyIms7/llGy+W9b5huZaVcO\nxdT1tw/zctbOhb6S2t5vH+zkta/2ncUXjG7i8XdLsJ1qe4K1kYbA4KVkOMmAtw7O\n4STk0TZDD0YARdmrciorJjbIVt0Xj1CrYQ5QbDGrlfeXgrcZwX5f9wT2MnKlY5oZ\n5Wtb57oGtLkVf8g6vN/2jGtAmOmHK2hHwNd/+zUet5G/S5uwEli4RgMPP4pUoKgd\nGQIDAQAB\n-----END PUBLIC KEY-----\n"
@@ -2591,7 +2574,7 @@
2591
2574
  },
2592
2575
  "EncryptedCardNumber": {
2593
2576
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2594
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/EncryptedCardNumber",
2577
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/EncryptedCardNumber",
2595
2578
  "type": "object",
2596
2579
  "additionalProperties": false,
2597
2580
  "required": ["encryptedDataEncryptionKey", "cardNumber"],
@@ -2608,7 +2591,7 @@
2608
2591
  },
2609
2592
  "Error": {
2610
2593
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2611
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Error",
2594
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Error",
2612
2595
  "type": "object",
2613
2596
  "additionalProperties": false,
2614
2597
  "description": "Server error message",
@@ -2623,7 +2606,7 @@
2623
2606
  },
2624
2607
  "ExpirationDate": {
2625
2608
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2626
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2609
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2627
2610
  "type": "string",
2628
2611
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
2629
2612
  "format": "YYMM",
@@ -2633,14 +2616,14 @@
2633
2616
  },
2634
2617
  "DataEncryptionKeyId": {
2635
2618
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2636
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
2619
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
2637
2620
  "type": "string",
2638
2621
  "description": "Reference to encryption keys Payment Card Service will use to encrypt the Card object.\n",
2639
2622
  "format": "uuid"
2640
2623
  },
2641
2624
  "DataEncryptionKeyRequest": {
2642
2625
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2643
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyRequest",
2626
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyRequest",
2644
2627
  "type": "object",
2645
2628
  "additionalProperties": false,
2646
2629
  "required": ["publicKeys"],
@@ -2651,7 +2634,7 @@
2651
2634
  "description": "List of public keys in PEM format.\n\nAssociated private keys can be used to decrypt card data encrypted by Payment Card Service.\n",
2652
2635
  "items": {
2653
2636
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2654
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PublicKey",
2637
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PublicKey",
2655
2638
  "description": "Public key in PEM format",
2656
2639
  "type": "string",
2657
2640
  "example": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwm2sxmRdTF7ZIBA6+ngO\n8jOTCHmID0PpQB1q85+hrcLSfB1rWY9bzNNLabBo/ajDnA4Pcadq/x6gpg70qZcR\n9Wxm6TttKzBPZsxasGXgSTDqEi2KcYZgq1mL4qyxUvyIms7/llGy+W9b5huZaVcO\nxdT1tw/zctbOhb6S2t5vH+zkta/2ncUXjG7i8XdLsJ1qe4K1kYbA4KVkOMmAtw7O\n4STk0TZDD0YARdmrciorJjbIVt0Xj1CrYQ5QbDGrlfeXgrcZwX5f9wT2MnKlY5oZ\n5Wtb57oGtLkVf8g6vN/2jGtAmOmHK2hHwNd/+zUet5G/S5uwEli4RgMPP4pUoKgd\nGQIDAQAB\n-----END PUBLIC KEY-----\n"
@@ -2661,7 +2644,7 @@
2661
2644
  },
2662
2645
  "DataEncryptionKeyResponse": {
2663
2646
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2664
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyResponse",
2647
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyResponse",
2665
2648
  "type": "object",
2666
2649
  "required": ["encryptedDataEncryptionKeys", "createdOn"],
2667
2650
  "properties": {
@@ -2680,7 +2663,7 @@
2680
2663
  "properties": {
2681
2664
  "publicKeyHash": {
2682
2665
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2683
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Hash",
2666
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Hash",
2684
2667
  "type": "string",
2685
2668
  "format": "uuid",
2686
2669
  "example": "15a85f64-5717-4562-b3fc-2c963f66afa6",
@@ -2697,7 +2680,7 @@
2697
2680
  },
2698
2681
  "History": {
2699
2682
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2700
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/History",
2683
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/History",
2701
2684
  "description": "The History object represents the updates to a Card object over time.\n",
2702
2685
  "type": "object",
2703
2686
  "required": ["updates"],
@@ -2720,14 +2703,14 @@
2720
2703
  "minItems": 0,
2721
2704
  "items": {
2722
2705
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2723
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/CardUpdate",
2706
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/CardUpdate",
2724
2707
  "type": "object",
2725
2708
  "additionalProperties": false,
2726
2709
  "required": ["card", "updatedOn", "createdOn"],
2727
2710
  "properties": {
2728
2711
  "card": {
2729
2712
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2730
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Card",
2713
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Card",
2731
2714
  "type": "object",
2732
2715
  "additionalProperties": false,
2733
2716
  "required": [
@@ -2747,7 +2730,7 @@
2747
2730
  "properties": {
2748
2731
  "bin": {
2749
2732
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2750
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
2733
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
2751
2734
  "type": "string",
2752
2735
  "pattern": "^\\d+$",
2753
2736
  "description": "Bank Identification Number",
@@ -2763,7 +2746,7 @@
2763
2746
  },
2764
2747
  "expirationDate": {
2765
2748
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2766
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2749
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2767
2750
  "type": "string",
2768
2751
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
2769
2752
  "format": "YYMM",
@@ -2792,28 +2775,28 @@
2792
2775
  },
2793
2776
  "state": {
2794
2777
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2795
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
2778
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
2796
2779
  "description": "The current state of the card",
2797
2780
  "type": "string",
2798
2781
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
2799
2782
  },
2800
2783
  "active": {
2801
2784
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2802
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
2785
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
2803
2786
  "description": "The active/inactive status for the card",
2804
2787
  "type": "string",
2805
2788
  "enum": ["INACTIVE", "ACTIVE"]
2806
2789
  },
2807
2790
  "block": {
2808
2791
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2809
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
2792
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
2810
2793
  "type": "string",
2811
2794
  "description": "Whether the card is open or blocked for various reasons",
2812
2795
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
2813
2796
  },
2814
2797
  "lock": {
2815
2798
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2816
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2799
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2817
2800
  "type": "string",
2818
2801
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
2819
2802
  "enum": ["LOCKED", "UNLOCKED"]
@@ -2845,14 +2828,14 @@
2845
2828
  },
2846
2829
  "LockStatus": {
2847
2830
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2848
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2831
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2849
2832
  "type": "string",
2850
2833
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
2851
2834
  "enum": ["LOCKED", "UNLOCKED"]
2852
2835
  },
2853
2836
  "Ping": {
2854
2837
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2855
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Ping",
2838
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Ping",
2856
2839
  "type": "object",
2857
2840
  "additionalProperties": false,
2858
2841
  "required": ["serverTime"],
@@ -2867,7 +2850,7 @@
2867
2850
  },
2868
2851
  "PinOffsetKey": {
2869
2852
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2870
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PinOffsetKey",
2853
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PinOffsetKey",
2871
2854
  "type": "object",
2872
2855
  "additionalProperties": false,
2873
2856
  "required": ["transmissionKey"],
@@ -2880,21 +2863,21 @@
2880
2863
  },
2881
2864
  "PinOffsetKeyId": {
2882
2865
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2883
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PinOffsetKeyId",
2866
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PinOffsetKeyId",
2884
2867
  "type": "string",
2885
2868
  "format": "uuid",
2886
2869
  "description": "Identifier for the PinOffsetKey used to encrypt the data encryption key."
2887
2870
  },
2888
2871
  "PinOffsetRequest": {
2889
2872
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2890
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PinOffsetRequest",
2873
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PinOffsetRequest",
2891
2874
  "type": "object",
2892
2875
  "additionalProperties": false,
2893
2876
  "required": ["encryptedDataEncryptionKey", "pinOffsetKeyId", "encryptedUserDefinedPin"],
2894
2877
  "properties": {
2895
2878
  "pinOffsetKeyId": {
2896
2879
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2897
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PinOffsetKeyId",
2880
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PinOffsetKeyId",
2898
2881
  "type": "string",
2899
2882
  "format": "uuid",
2900
2883
  "description": "Identifier for the PinOffsetKey used to encrypt the data encryption key."
@@ -2911,7 +2894,7 @@
2911
2894
  },
2912
2895
  "Hash": {
2913
2896
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2914
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Hash",
2897
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Hash",
2915
2898
  "type": "string",
2916
2899
  "format": "uuid",
2917
2900
  "example": "15a85f64-5717-4562-b3fc-2c963f66afa6",
@@ -2919,14 +2902,14 @@
2919
2902
  },
2920
2903
  "NewCard": {
2921
2904
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2922
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/NewCard",
2905
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/NewCard",
2923
2906
  "type": "object",
2924
2907
  "additionalProperties": false,
2925
2908
  "required": ["bin", "expirationDate", "serviceCode", "sequenceNumber", "state", "active", "block", "lock"],
2926
2909
  "properties": {
2927
2910
  "bin": {
2928
2911
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2929
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
2912
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
2930
2913
  "type": "string",
2931
2914
  "pattern": "^\\d+$",
2932
2915
  "description": "Bank Identification Number",
@@ -2935,7 +2918,7 @@
2935
2918
  },
2936
2919
  "expirationDate": {
2937
2920
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2938
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2921
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
2939
2922
  "type": "string",
2940
2923
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
2941
2924
  "format": "YYMM",
@@ -2958,28 +2941,28 @@
2958
2941
  },
2959
2942
  "state": {
2960
2943
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2961
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
2944
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
2962
2945
  "description": "The current state of the card",
2963
2946
  "type": "string",
2964
2947
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
2965
2948
  },
2966
2949
  "active": {
2967
2950
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2968
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
2951
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
2969
2952
  "description": "The active/inactive status for the card",
2970
2953
  "type": "string",
2971
2954
  "enum": ["INACTIVE", "ACTIVE"]
2972
2955
  },
2973
2956
  "block": {
2974
2957
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2975
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
2958
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
2976
2959
  "type": "string",
2977
2960
  "description": "Whether the card is open or blocked for various reasons",
2978
2961
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
2979
2962
  },
2980
2963
  "lock": {
2981
2964
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2982
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2965
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
2983
2966
  "type": "string",
2984
2967
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
2985
2968
  "enum": ["LOCKED", "UNLOCKED"]
@@ -2988,14 +2971,14 @@
2988
2971
  },
2989
2972
  "NewCardRequest": {
2990
2973
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2991
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/NewCardRequest",
2974
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/NewCardRequest",
2992
2975
  "type": "object",
2993
2976
  "required": ["dataEncryptionKeyId", "cardNumberLength", "newCard"],
2994
2977
  "additionalProperties": false,
2995
2978
  "properties": {
2996
2979
  "dataEncryptionKeyId": {
2997
2980
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2998
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
2981
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
2999
2982
  "type": "string",
3000
2983
  "description": "Reference to encryption keys Payment Card Service will use to encrypt the Card object.\n",
3001
2984
  "format": "uuid"
@@ -3008,14 +2991,14 @@
3008
2991
  },
3009
2992
  "newCard": {
3010
2993
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3011
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/NewCard",
2994
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/NewCard",
3012
2995
  "type": "object",
3013
2996
  "additionalProperties": false,
3014
2997
  "required": ["bin", "expirationDate", "serviceCode", "sequenceNumber", "state", "active", "block", "lock"],
3015
2998
  "properties": {
3016
2999
  "bin": {
3017
3000
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3018
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
3001
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
3019
3002
  "type": "string",
3020
3003
  "pattern": "^\\d+$",
3021
3004
  "description": "Bank Identification Number",
@@ -3024,7 +3007,7 @@
3024
3007
  },
3025
3008
  "expirationDate": {
3026
3009
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3027
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
3010
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
3028
3011
  "type": "string",
3029
3012
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
3030
3013
  "format": "YYMM",
@@ -3047,28 +3030,28 @@
3047
3030
  },
3048
3031
  "state": {
3049
3032
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3050
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
3033
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
3051
3034
  "description": "The current state of the card",
3052
3035
  "type": "string",
3053
3036
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
3054
3037
  },
3055
3038
  "active": {
3056
3039
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3057
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
3040
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
3058
3041
  "description": "The active/inactive status for the card",
3059
3042
  "type": "string",
3060
3043
  "enum": ["INACTIVE", "ACTIVE"]
3061
3044
  },
3062
3045
  "block": {
3063
3046
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3064
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
3047
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
3065
3048
  "type": "string",
3066
3049
  "description": "Whether the card is open or blocked for various reasons",
3067
3050
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
3068
3051
  },
3069
3052
  "lock": {
3070
3053
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3071
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
3054
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
3072
3055
  "type": "string",
3073
3056
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
3074
3057
  "enum": ["LOCKED", "UNLOCKED"]
@@ -3079,7 +3062,7 @@
3079
3062
  },
3080
3063
  "NewCardRequestWithCardNumber": {
3081
3064
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3082
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/NewCardRequestWithCardNumber",
3065
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/NewCardRequestWithCardNumber",
3083
3066
  "type": "object",
3084
3067
  "required": ["encryptedCardNumber", "encryptedDataEncryptionKey", "dataEncryptionKeyId", "newCard"],
3085
3068
  "properties": {
@@ -3093,21 +3076,21 @@
3093
3076
  },
3094
3077
  "dataEncryptionKeyId": {
3095
3078
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3096
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
3079
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/DataEncryptionKeyId",
3097
3080
  "type": "string",
3098
3081
  "description": "Reference to encryption keys Payment Card Service will use to encrypt the Card object.\n",
3099
3082
  "format": "uuid"
3100
3083
  },
3101
3084
  "newCard": {
3102
3085
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3103
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/NewCard",
3086
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/NewCard",
3104
3087
  "type": "object",
3105
3088
  "additionalProperties": false,
3106
3089
  "required": ["bin", "expirationDate", "serviceCode", "sequenceNumber", "state", "active", "block", "lock"],
3107
3090
  "properties": {
3108
3091
  "bin": {
3109
3092
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3110
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/Bin",
3093
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/Bin",
3111
3094
  "type": "string",
3112
3095
  "pattern": "^\\d+$",
3113
3096
  "description": "Bank Identification Number",
@@ -3116,7 +3099,7 @@
3116
3099
  },
3117
3100
  "expirationDate": {
3118
3101
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3119
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
3102
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ExpirationDate",
3120
3103
  "type": "string",
3121
3104
  "pattern": "([0-9][0-9])(0[1-9]|1[0-2])",
3122
3105
  "format": "YYMM",
@@ -3139,28 +3122,28 @@
3139
3122
  },
3140
3123
  "state": {
3141
3124
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3142
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
3125
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
3143
3126
  "description": "The current state of the card",
3144
3127
  "type": "string",
3145
3128
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
3146
3129
  },
3147
3130
  "active": {
3148
3131
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3149
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
3132
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/ActiveStatus",
3150
3133
  "description": "The active/inactive status for the card",
3151
3134
  "type": "string",
3152
3135
  "enum": ["INACTIVE", "ACTIVE"]
3153
3136
  },
3154
3137
  "block": {
3155
3138
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3156
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
3139
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/BlockStatus",
3157
3140
  "type": "string",
3158
3141
  "description": "Whether the card is open or blocked for various reasons",
3159
3142
  "enum": ["OPEN", "BLOCKED LOST OR STOLEN", "BLOCKED NO FRAUD", "BLOCKED WITH FRAUD"]
3160
3143
  },
3161
3144
  "lock": {
3162
3145
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3163
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
3146
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/LockStatus",
3164
3147
  "type": "string",
3165
3148
  "description": "A cardholder initiated status. A locked card will fail authorization. Locked cards can be unlocked.\n\nA cardholder may choose to lock a card while temporarily misplaced.\n",
3166
3149
  "enum": ["LOCKED", "UNLOCKED"]
@@ -3172,21 +3155,21 @@
3172
3155
  },
3173
3156
  "PublicKey": {
3174
3157
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3175
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PublicKey",
3158
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PublicKey",
3176
3159
  "description": "Public key in PEM format",
3177
3160
  "type": "string",
3178
3161
  "example": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwm2sxmRdTF7ZIBA6+ngO\n8jOTCHmID0PpQB1q85+hrcLSfB1rWY9bzNNLabBo/ajDnA4Pcadq/x6gpg70qZcR\n9Wxm6TttKzBPZsxasGXgSTDqEi2KcYZgq1mL4qyxUvyIms7/llGy+W9b5huZaVcO\nxdT1tw/zctbOhb6S2t5vH+zkta/2ncUXjG7i8XdLsJ1qe4K1kYbA4KVkOMmAtw7O\n4STk0TZDD0YARdmrciorJjbIVt0Xj1CrYQ5QbDGrlfeXgrcZwX5f9wT2MnKlY5oZ\n5Wtb57oGtLkVf8g6vN/2jGtAmOmHK2hHwNd/+zUet5G/S5uwEli4RgMPP4pUoKgd\nGQIDAQAB\n-----END PUBLIC KEY-----\n"
3179
3162
  },
3180
3163
  "PublicKeyResponse": {
3181
3164
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3182
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PublicKeyResponse",
3165
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PublicKeyResponse",
3183
3166
  "description": "This object contains the rsa generated public key for the Payment Card Service. This public key must be used\nwhen transmitting encrypted data to Payment Card Service APIs.\n",
3184
3167
  "type": "object",
3185
3168
  "required": ["publicKey"],
3186
3169
  "properties": {
3187
3170
  "publicKey": {
3188
3171
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3189
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/PublicKey",
3172
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/PublicKey",
3190
3173
  "description": "Public key in PEM format",
3191
3174
  "type": "string",
3192
3175
  "example": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwm2sxmRdTF7ZIBA6+ngO\n8jOTCHmID0PpQB1q85+hrcLSfB1rWY9bzNNLabBo/ajDnA4Pcadq/x6gpg70qZcR\n9Wxm6TttKzBPZsxasGXgSTDqEi2KcYZgq1mL4qyxUvyIms7/llGy+W9b5huZaVcO\nxdT1tw/zctbOhb6S2t5vH+zkta/2ncUXjG7i8XdLsJ1qe4K1kYbA4KVkOMmAtw7O\n4STk0TZDD0YARdmrciorJjbIVt0Xj1CrYQ5QbDGrlfeXgrcZwX5f9wT2MnKlY5oZ\n5Wtb57oGtLkVf8g6vN/2jGtAmOmHK2hHwNd/+zUet5G/S5uwEli4RgMPP4pUoKgd\nGQIDAQAB\n-----END PUBLIC KEY-----\n"
@@ -3195,14 +3178,14 @@
3195
3178
  },
3196
3179
  "StateStatus": {
3197
3180
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3198
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
3181
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StateStatus",
3199
3182
  "description": "The current state of the card",
3200
3183
  "type": "string",
3201
3184
  "enum": ["CURRENT", "REISSUED", "RETIRED", "FORCED"]
3202
3185
  },
3203
3186
  "StorageKeyId": {
3204
3187
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3205
- "$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/definitions/StorageKeyId",
3188
+ "$id": "https://payment-card.checkdigit/payment-card/v2/schemas/definitions/StorageKeyId",
3206
3189
  "type": "string",
3207
3190
  "description": "DEK's non-derived identifier to be used by Check Digit services only.\n"
3208
3191
  }