@adobe/reactor-turbine-schemas 10.3.0 → 10.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@ on:
10
10
  jobs:
11
11
  notify-on-success:
12
12
  runs-on: ubuntu-latest
13
- if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.inputs.tag == 'latest'}}
13
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
14
14
  steps:
15
15
  - uses: actions/checkout@v2
16
16
  - name: Get latest tag
package/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # @adobe/reactor-turbine-schemas
2
2
 
3
- Experience Platform Tags, by Adobe, is a next-generation tag management solution enabling simplified deployment of marketing technologies. For more information regarding Experience Platform Tags, please visit our [product website](http://www.adobe.com/enterprise/cloud-platform/launch.html).
3
+ Adobe Experience Platform Tags is a next-generation tag management solution enabling simplified deployment of marketing technologies. For more information regarding Tags, please visit our [product website](http://www.adobe.com/enterprise/cloud-platform/launch.html).
4
4
 
5
- This project is a collection of schemas based on the [JSON Schema vocabulary](https://json-schema.org/) that are used for validation of JSON objects within Experience Platform Tags. The schemas are not intended to be used directly by consumers; they are used by the Experience Platform Tags system and extension development tools.
5
+ This project is a collection of schemas based on the [JSON Schema vocabulary](https://json-schema.org/) that are used for validation of JSON objects within Tags. The schemas are not intended to be used directly by consumers; they are used by the Tags system and extension development tools.
6
6
 
7
7
  ## Available Schemas
8
8
 
9
9
  ### container.json
10
10
 
11
- A schema describing the "container" output for [Turbine (Web)](https://github.com/adobe/reactor-turbine) (the Experience Platform Tags rule engine). The container object contains configuration specific to an Experience Platform Tags property. Turbine uses the container as instruction on how to behave when running on a client website.
11
+ A schema describing the "container" output for [Turbine (Web)](https://github.com/adobe/reactor-turbine) (the Experience Platform Tags rule engine). The container object contains configuration specific to a Platform Tags property. Turbine uses the container as instruction on how to behave when running on a client website.
12
12
 
13
13
  ### extension-package-web.json
14
14
 
@@ -16,7 +16,7 @@ A schema describing the `extension.json` found in a web extension package. The `
16
16
 
17
17
  ### extension-package-mobile.json
18
18
 
19
- A schema describing the `extension.json` found in a web extension package. The `extension.json` file describes the contents of an extension.
19
+ A schema describing the `extension.json` found in a mobile extension package. The `extension.json` file describes the contents of an extension.
20
20
 
21
21
  ## Contributing
22
22
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adobe/reactor-turbine-schemas",
3
- "version": "10.3.0",
4
- "description": "A collection of schema used for validation of JSON objects within Launch.",
3
+ "version": "10.4.0",
4
+ "description": "A collection of schema used for validation of JSON objects within Tags.",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git@git.corp.adobe.com:reactor/turbine-schemas.git"
@@ -21,6 +21,6 @@
21
21
  "test": "node test/index.js"
22
22
  },
23
23
  "engines": {
24
- "node": ">=12.13.0"
24
+ "node": ">=14.21.2"
25
25
  }
26
26
  }
@@ -35,9 +35,7 @@
35
35
  "$ref": "#/definitions/email"
36
36
  }
37
37
  },
38
- "required": [
39
- "name"
40
- ]
38
+ "required": ["name"]
41
39
  },
42
40
  "viewBasePath": {
43
41
  "$ref": "#/definitions/basePath"
@@ -50,9 +48,7 @@
50
48
  "$ref": "#/definitions/configuration"
51
49
  },
52
50
  "platform": {
53
- "enum": [
54
- "mobile"
55
- ]
51
+ "enum": ["mobile"]
56
52
  },
57
53
  "repositories": {
58
54
  "type": "array",
@@ -117,13 +113,33 @@
117
113
  },
118
114
  "artifact": {
119
115
  "$ref": "#/definitions/mavenFQArtifactName"
116
+ },
117
+ "coreArtifact": {
118
+ "$ref": "#/definitions/mavenFQArtifactName"
120
119
  }
121
120
  },
122
121
  "additionalProperties": false,
123
- "required": [
124
- "className",
125
- "artifact"
126
- ]
122
+ "required": ["className", "artifact"]
123
+ },
124
+ {
125
+ "type": "object",
126
+ "properties": {
127
+ "className": {
128
+ "$ref": "#/definitions/javaClassName"
129
+ },
130
+ "artifacts": {
131
+ "type": "array",
132
+ "items": {
133
+ "$ref": "#/definitions/mavenFQArtifactName"
134
+ },
135
+ "minItems": 1
136
+ },
137
+ "coreArtifact": {
138
+ "$ref": "#/definitions/mavenFQArtifactName"
139
+ }
140
+ },
141
+ "additionalProperties": false,
142
+ "required": ["className", "artifacts"]
127
143
  },
128
144
  {
129
145
  "type": "object",
@@ -137,13 +153,37 @@
137
153
  },
138
154
  "artifact": {
139
155
  "$ref": "#/definitions/mavenFQArtifactName"
156
+ },
157
+ "coreArtifact": {
158
+ "$ref": "#/definitions/mavenFQArtifactName"
140
159
  }
141
160
  },
142
161
  "additionalProperties": false,
143
- "required": [
144
- "classNames",
145
- "artifact"
146
- ]
162
+ "required": ["classNames", "artifact"]
163
+ },
164
+ {
165
+ "type": "object",
166
+ "properties": {
167
+ "classNames": {
168
+ "type": "array",
169
+ "items": {
170
+ "$ref": "#/definitions/javaClassName"
171
+ },
172
+ "minItems": 1
173
+ },
174
+ "artifacts": {
175
+ "type": "array",
176
+ "items": {
177
+ "$ref": "#/definitions/mavenFQArtifactName"
178
+ },
179
+ "minItems": 1
180
+ },
181
+ "coreArtifact": {
182
+ "$ref": "#/definitions/mavenFQArtifactName"
183
+ }
184
+ },
185
+ "additionalProperties": false,
186
+ "required": ["classNames", "artifacts"]
147
187
  }
148
188
  ]
149
189
  },
@@ -173,12 +213,7 @@
173
213
  }
174
214
  },
175
215
  "additionalProperties": false,
176
- "required": [
177
- "name",
178
- "headerName",
179
- "interface",
180
- "version"
181
- ]
216
+ "required": ["name", "headerName", "interface", "version"]
182
217
  },
183
218
  {
184
219
  "type": "object",
@@ -215,12 +250,7 @@
215
250
  }
216
251
  },
217
252
  "additionalProperties": false,
218
- "required": [
219
- "name",
220
- "headerNames",
221
- "interfaces",
222
- "version"
223
- ]
253
+ "required": ["name", "headerNames", "interfaces", "version"]
224
254
  }
225
255
  ]
226
256
  },
@@ -251,15 +281,10 @@
251
281
  "type": "string"
252
282
  },
253
283
  "type": {
254
- "enum": [
255
- "object"
256
- ]
284
+ "enum": ["object"]
257
285
  }
258
286
  },
259
- "required": [
260
- "$schema",
261
- "type"
262
- ]
287
+ "required": ["$schema", "type"]
263
288
  },
264
289
  "featureEvent": {
265
290
  "type": "object",
@@ -295,9 +320,7 @@
295
320
  ]
296
321
  }
297
322
  },
298
- "required": [
299
- "$ref"
300
- ]
323
+ "required": ["$ref"]
301
324
  }
302
325
  ]
303
326
  },
@@ -305,14 +328,10 @@
305
328
  "minItems": 1
306
329
  }
307
330
  },
308
- "required": [
309
- "allOf"
310
- ]
331
+ "required": ["allOf"]
311
332
  }
312
333
  },
313
- "required": [
314
- "schema"
315
- ],
334
+ "required": ["schema"],
316
335
  "additionalProperties": false
317
336
  },
318
337
  "featureConditions": {
@@ -349,9 +368,7 @@
349
368
  ]
350
369
  }
351
370
  },
352
- "required": [
353
- "$ref"
354
- ]
371
+ "required": ["$ref"]
355
372
  }
356
373
  ]
357
374
  },
@@ -359,14 +376,10 @@
359
376
  "minItems": 1
360
377
  }
361
378
  },
362
- "required": [
363
- "allOf"
364
- ]
379
+ "required": ["allOf"]
365
380
  }
366
381
  },
367
- "required": [
368
- "schema"
369
- ],
382
+ "required": ["schema"],
370
383
  "additionalProperties": false
371
384
  },
372
385
  "featureAction": {
@@ -403,9 +416,7 @@
403
416
  ]
404
417
  }
405
418
  },
406
- "required": [
407
- "$ref"
408
- ]
419
+ "required": ["$ref"]
409
420
  }
410
421
  ]
411
422
  },
@@ -413,14 +424,10 @@
413
424
  "minItems": 1
414
425
  }
415
426
  },
416
- "required": [
417
- "allOf"
418
- ]
427
+ "required": ["allOf"]
419
428
  }
420
429
  },
421
- "required": [
422
- "schema"
423
- ],
430
+ "required": ["schema"],
424
431
  "additionalProperties": false
425
432
  },
426
433
  "featureDataElement": {
@@ -457,9 +464,7 @@
457
464
  ]
458
465
  }
459
466
  },
460
- "required": [
461
- "$ref"
462
- ]
467
+ "required": ["$ref"]
463
468
  }
464
469
  ]
465
470
  },
@@ -467,14 +472,10 @@
467
472
  "minItems": 1
468
473
  }
469
474
  },
470
- "required": [
471
- "allOf"
472
- ]
475
+ "required": ["allOf"]
473
476
  }
474
477
  },
475
- "required": [
476
- "schema"
477
- ],
478
+ "required": ["schema"],
478
479
  "additionalProperties": false
479
480
  },
480
481
  "schema": {},
@@ -523,10 +524,7 @@
523
524
  }
524
525
  },
525
526
  "additionalProperties": false,
526
- "required": [
527
- "viewPath",
528
- "schema"
529
- ]
527
+ "required": ["viewPath", "schema"]
530
528
  },
531
529
  "feature": {
532
530
  "type": "object",
@@ -544,10 +542,7 @@
544
542
  "$ref": "#/definitions/viewPath"
545
543
  }
546
544
  },
547
- "required": [
548
- "name",
549
- "displayName"
550
- ]
545
+ "required": ["name", "displayName"]
551
546
  }
552
547
  }
553
548
  }