forked from Brandbank/Product
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBrandbankProductSchema_v1.0.1.json
822 lines (820 loc) · 38.8 KB
/
BrandbankProductSchema_v1.0.1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
{
"title": "Brandbank Product Schema",
"$schema": "http://json-schema.org/draft-04/schema#",
"version": "1.0.1",
"definitions": {
"itemNameLookup": {
"type": "array",
"items": {
"type": "object",
"properties": {
"nameId": { "type": "integer" },
"nameValue": { "type": "string" },
"lookupId": { "type": "integer" },
"lookupValue": { "type": "string" },
"lookupCode": { "type": "string" }
},
"required": [ "nameId", "nameValue", "lookupId", "lookupValue" ]
}
},
"itemMemo": {
"type": "string"
},
"itemNameText": {
"type": "array",
"items": {
"type": "object",
"properties": {
"nameId": { "type": "integer" },
"nameValue": { "type": "string" },
"text": { "type": "string" }
},
"required": [ "nameId", "nameValue", "text" ]
}
},
"itemLongText": {
"type": "array",
"items": {
"type": "string"
}
},
"itemStatement": {
"type": "array",
"items": {
"type": "object",
"properties": {
"nameId": { "type": "integer" },
"nameValue": { "type": "string" }
},
"required": [ "nameId", "nameValue" ]
}
},
"itemNutrition": {
"type": "object",
"properties": {
"columnHeaders": {
"type": "array",
"items": {
"type": "string"
}
},
"rowData": {
"type": "array",
"items": {
"type": "object",
"properties": {
"nutrient": { "type": "string" },
"values": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [ "nutrient", "values" ]
}
}
},
"required": [ "columnHeaders", "rowData" ]
},
"perTemplate": {
"type": "object",
"properties": {
"qualifierId": { "type": "integer" },
"qualifierValue": { "type": "string" },
"value": { "type": "string" }
}
},
"itemCalculatedNutrition": {
"type": "object",
"properties": {
"headers": {
"type": "object",
"properties": {
"per100": { "type": "string" },
"per100Used": { "type": "string" },
"perServing": { "type": "string" }
},
"required": [ "per100", "per100Used", "perServing" ]
},
"rowData": {
"type": "array",
"items": {
"type": "object",
"properties": {
"nameId": { "type": "integer" },
"nameValue": { "type": "string" },
"per100": { "$ref": "#/definitions/perTemplate" },
"per100Used": { "$ref": "#/definitions/perTemplate" },
"perServing": { "$ref": "#/definitions/perTemplate" }
},
"required": [ "nameId", "nameValue" ]
}
}
}
},
"itemOfTagsArray": {
"type": "object",
"properties": {
"start": { "type": "integer" },
"length": { "type": "integer" },
"tagTypeId": { "type": "integer" },
"tagTypeName": { "type": "string" }
},
"required": [ "start", "length", "tagTypeId", "tagTypeName" ]
},
"itemTaggedMemoTags": {
"type": "array",
"items": {
"$ref": "#/definitions/itemOfTagsArray"
}
},
"itemTaggedMemo": {
"type": "string"
},
"itemTaggedLongText": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "array",
"items": {
"type": "string"
}
},
"tags": {
"type": "array",
"items": {
"allOf": [
{ "$ref": "#/definitions/itemOfTagsArray" },
{
"properties": { "textIndex": { "type": "integer" } },
"required": [ "textIndex" ]
}
]
}
}
},
"required": [ "text" ]
}
},
"itemNameTextLookup": {
"type": "array",
"items": {
"type": "object",
"properties": {
"nameId": { "type": "integer" },
"nameValue": { "type": "string" },
"lookupId": { "type": "integer" },
"lookupValue": { "type": "string" },
"lookupCode": { "type": "string" },
"text": { "type": "string" }
},
"required": [ "nameId", "nameValue", "lookupId", "lookupValue", "text" ]
}
},
"itemStructuredNutrition": {
"type": "object",
"properties": {
"groupDefinitions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"amountHeader": { "type": "string" },
"referenceIntakeHeaders": {
"type": "array",
"items": {
"type": "string"
}
},
"totalAmount": { "type": "string" },
"totalAmountUnit": {
"type": "object",
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"abbreviation": { "type": "string" }
},
"required": [ "id", "name", "abbreviation" ]
}
},
"required": [ "id", "name", "amountHeader", "referenceIntakeHeaders" ]
}
},
"nutrients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"unit": {
"type": "object",
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"abbreviation": { "type": "string" }
},
"required": [ "id", "name", "abbreviation" ]
},
"groupValues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amount": {
"type": [ "object", "null" ],
"properties": {
"value": { "type": "string" },
"qualifierId": { "type": "integer" },
"qualifierName": { "type": "string" }
}
},
"referenceIntakeValues": {
"type": "array",
"items": {
"type": [ "object", "null" ],
"properties": {
"value": { "type": "string" },
"qualifierId": { "type": "integer" },
"qualifierName": { "type": "string" }
}
}
}
},
"required": [ "amount", "referenceIntakeValues" ]
}
}
},
"required": [ "id", "name" ]
}
}
},
"required": [ "groupDefinitions" ]
},
"itemFrontOfPackGDA": {
"type": "object",
"properties": {
"references": {
"type": "array",
"items": {
"type": "object",
"properties": {
"nameId": { "type": "integer" },
"nameValue": { "type": "string" },
"headers": {
"type": "array",
"items": { "type": "string" }
},
"footers": {
"type": "array",
"items": { "type": "string" }
},
"nutrients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "integer" },
"value": { "type": "string" },
"ratingId": { "type": "integer" },
"ratingValue": { "type": "string" },
"quantities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unitId": { "type": "integer" },
"unitValue": { "type": "string" },
"value": { "type": "string" }
},
"required": [ "value" ]
}
},
"percentage": {
"type": "object",
"properties": {
"qualifierId": { "type": "integer" },
"qualifierValue": { "type": "string" },
"value": { "type": "string" }
},
"required": [ "value" ]
}
},
"required": [ "id", "value" ]
}
}
},
"required": [ "nameId", "nameValue", "nutrients" ]
}
}
},
"required": [ "references" ]
},
"groupingSets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"anyOf": [
{
"type": "object",
"properties": {
"LanguageId": { "type": "integer" },
"Value": { "type": "string" }
},
"required": [ "LanguageId", "Value" ]
},
{
"type": "string"
}
]
},
"attributes": {
"type": "object",
"properties": {
"thirdPartyLogos": { "$ref": "#/definitions/itemStatement" },
"lifestyle": { "$ref": "#/definitions/itemStatement" },
"otherInformation": { "$ref": "#/definitions/itemMemo" },
"allergyAdvice": { "$ref": "#/definitions/itemNameLookup" },
"additives": { "$ref": "#/definitions/itemNameLookup" },
"nappySize": { "$ref": "#/definitions/itemNameText" },
"cookingGuidelines": { "$ref": "#/definitions/itemNameTextLookup" },
"nutStatement": { "$ref": "#/definitions/itemNameText" },
"storageAndUsageStatements": { "$ref": "#/definitions/itemStatement" },
"recyclingInfo": { "$ref": "#/definitions/itemNameLookup" },
"allergyOtherText": { "$ref": "#/definitions/itemLongText" },
"additivesOtherText": { "$ref": "#/definitions/itemLongText" },
"lifestyleOtherText": { "$ref": "#/definitions/itemLongText" },
"manufacturersAddress": { "$ref": "#/definitions/itemMemo" },
"dimension": { "$ref": "#/definitions/itemNameText" },
"preparationAndUsage": { "$ref": "#/definitions/itemMemo" },
"storage": { "$ref": "#/definitions/itemMemo" },
"furtherDescription": { "$ref": "#/definitions/itemMemo" },
"country": { "$ref": "#/definitions/itemNameLookup" },
"lowerAgeLimit": { "$ref": "#/definitions/itemNameTextLookup" },
"brand": { "$ref": "#/definitions/itemLongText" },
"returnTo": { "$ref": "#/definitions/itemMemo" },
"storageType": { "$ref": "#/definitions/itemNameLookup" },
"storageConditions": { "$ref": "#/definitions/itemNameText" },
"packType": { "$ref": "#/definitions/itemNameLookup" },
"promotionalPackType": { "$ref": "#/definitions/itemStatement" },
"pharmacy": { "$ref": "#/definitions/itemNameText" },
"features": { "$ref": "#/definitions/itemLongText" },
"standardisedBrand": { "$ref": "#/definitions/itemNameLookup" },
"weight": { "$ref": "#/definitions/itemNameText" },
"productMarketing": { "$ref": "#/definitions/itemMemo" },
"brandMarketing": { "$ref": "#/definitions/itemMemo" },
"manufacturerMarketing": { "$ref": "#/definitions/itemMemo" },
"periodicalFrequency": { "$ref": "#/definitions/itemNameLookup" },
"periodicalSalePeriod": { "$ref": "#/definitions/itemNameText" },
"boxContents": { "$ref": "#/definitions/itemLongText" },
"electrical": { "$ref": "#/definitions/itemNameTextLookup" },
"productDimensions": { "$ref": "#/definitions/itemNameTextLookup" },
"productSize": { "$ref": "#/definitions/itemNameLookup" },
"colour": { "$ref": "#/definitions/itemStatement" },
"finish": { "$ref": "#/definitions/itemStatement" },
"material": { "$ref": "#/definitions/itemNameTextLookup" },
"waterFilter": { "$ref": "#/definitions/itemNameLookup" },
"style": { "$ref": "#/definitions/itemNameLookup" },
"standardisedFeatureText": { "$ref": "#/definitions/itemNameText" },
"featureStatements": { "$ref": "#/definitions/itemStatement" },
"generalStatements": { "$ref": "#/definitions/itemStatement" },
"safetyWarning": { "$ref": "#/definitions/itemMemo" },
"rangeInformation": { "$ref": "#/definitions/itemMemo" },
"featureLookups": { "$ref": "#/definitions/itemNameLookup" },
"identification": { "$ref": "#/definitions/itemNameText" },
"support": { "$ref": "#/definitions/itemNameText" },
"prizesAndAwardsWon": { "$ref": "#/definitions/itemLongText" },
"batteryType": { "$ref": "#/definitions/itemNameTextLookup" },
"electicalFeatures": { "$ref": "#/definitions/itemNameLookup" },
"areaOfUse": { "$ref": "#/definitions/itemStatement" },
"colourText": { "$ref": "#/definitions/itemLongText" },
"productType": { "$ref": "#/definitions/itemStatement" },
"skinType": { "$ref": "#/definitions/itemStatement" },
"multilingualDescriptions": { "$ref": "#/definitions/itemNameText" },
"productLanguage": { "$ref": "#/definitions/itemNameLookup" },
"numberOfUnits": { "$ref": "#/definitions/itemNameText" },
"unitType": { "$ref": "#/definitions/itemLongText" },
"numericSize": { "$ref": "#/definitions/itemNameText" },
"unitSpecific": { "$ref": "#/definitions/itemNameLookup" },
"packSize": { "$ref": "#/definitions/itemLongText" },
"unitFreeText": { "$ref": "#/definitions/itemLongText" },
"averageMeasure": { "$ref": "#/definitions/itemStatement" },
"alcoholType": { "$ref": "#/definitions/itemNameLookup" },
"generalAlcoholData": { "$ref": "#/definitions/itemNameText" },
"regionOfOrigin": { "$ref": "#/definitions/itemNameLookup" },
"wineAlcoholData": { "$ref": "#/definitions/itemNameText" },
"wineColour": { "$ref": "#/definitions/itemNameLookup" },
"wineEffervescence": { "$ref": "#/definitions/itemStatement" },
"definedArea": { "$ref": "#/definitions/itemNameLookup" },
"typeOfClosure": { "$ref": "#/definitions/itemNameLookup" },
"recommendedStorage": { "$ref": "#/definitions/itemNameLookup" },
"recommendedStorageEndText": { "$ref": "#/definitions/itemNameLookup" },
"languagesOnPack": { "$ref": "#/definitions/itemStatement" },
"ingredients": { "$ref": "#/definitions/itemLongText" },
"nutrition": { "$ref": "#/definitions/itemNutrition" },
"calculatedNutrition": { "$ref": "#/definitions/itemCalculatedNutrition" },
"barcodeVerificationData": { "$ref": "#/definitions/itemNameText" },
"aestheticsText": { "$ref": "#/definitions/itemNameText" },
"dimensionsOtherText": { "$ref": "#/definitions/itemLongText" },
"type": { "$ref": "#/definitions/itemNameLookup" },
"standardisedFeatures": { "$ref": "#/definitions/itemNameText" },
"electricalStatements": { "$ref": "#/definitions/itemStatement" },
"featureTextLookups": { "$ref": "#/definitions/itemNameTextLookup" },
"ageRange": { "$ref": "#/definitions/itemNameText" },
"weightLimit": { "$ref": "#/definitions/itemNameText" },
"featuresOtherText": { "$ref": "#/definitions/itemLongText" },
"manufacturerBrand": { "$ref": "#/definitions/itemNameLookup" },
"enhancedMarketing": { "$ref": "#/definitions/itemMemo" },
"enhancedFeatures": { "$ref": "#/definitions/itemLongText" },
"specificationText": { "$ref": "#/definitions/itemNameText" },
"specificationStatements": { "$ref": "#/definitions/itemStatement" },
"specificationLookups": { "$ref": "#/definitions/itemNameLookup" },
"usageStatements": { "$ref": "#/definitions/itemStatement" },
"safetyStatements": { "$ref": "#/definitions/itemStatement" },
"safetyText": { "$ref": "#/definitions/itemNameText" },
"aestheticsStatements": { "$ref": "#/definitions/itemStatement" },
"specificationTextLookup": { "$ref": "#/definitions/itemNameTextLookup" },
"usageText": { "$ref": "#/definitions/itemNameText" },
"assemblyType": { "$ref": "#/definitions/itemNameTextLookup" },
"assemblyText": { "$ref": "#/definitions/itemNameText" },
"otherAssemblyInfo": { "$ref": "#/definitions/itemMemo" },
"nappyIndexedSize": { "$ref": "#/definitions/itemNameLookup" },
"size": { "$ref": "#/definitions/itemNameText" },
"legalDisclaimers": { "$ref": "#/definitions/itemLongText" },
"warnings": { "$ref": "#/definitions/itemLongText" },
"usageLookups": { "$ref": "#/definitions/itemNameLookup" },
"shelfReadyPack": { "$ref": "#/definitions/itemNameText" },
"breakPack": { "$ref": "#/definitions/itemNameText" },
"case": { "$ref": "#/definitions/itemNameText" },
"nesting": { "$ref": "#/definitions/itemNameText" },
"enhancedProductMarketing": { "$ref": "#/definitions/itemMemo" },
"enhancedBrandMarketing": { "$ref": "#/definitions/itemMemo" },
"enhancedManufacturerMarketing": { "$ref": "#/definitions/itemMemo" },
"enhancedOtherMarketing": { "$ref": "#/definitions/itemMemo" },
"ageRecommendation": { "$ref": "#/definitions/itemNameLookup" },
"electricalFeatures": { "$ref": "#/definitions/itemNameLookup" },
"warningsSafetyInstructions": { "$ref": "#/definitions/itemMemo" },
"careInstructions": { "$ref": "#/definitions/itemMemo" },
"upperAgeLimit": { "$ref": "#/definitions/itemNameTextLookup" },
"catalogueNumber": { "$ref": "#/definitions/itemNameText" },
"assemblyLookups": { "$ref": "#/definitions/itemNameLookup" },
"unitMerchandising": { "$ref": "#/definitions/itemNameText" },
"pallet": { "$ref": "#/definitions/itemNameText" },
"lampBulbSpecifications": { "$ref": "#/definitions/itemNameText" },
"newProductDevelopment": { "$ref": "#/definitions/itemNameLookup" },
"alcoholByVolumeOtherText": { "$ref": "#/definitions/itemLongText" },
"alcoholUnitsOtherText": { "$ref": "#/definitions/itemLongText" },
"briefMarketingDescription": { "$ref": "#/definitions/itemMemo" },
"enhancedUsage": { "$ref": "#/definitions/itemMemo" },
"recipes": { "$ref": "#/definitions/itemMemo" },
"palletDetails": { "$ref": "#/definitions/itemNameLookup" },
"placeOfBirth": { "$ref": "#/definitions/itemLongText" },
"placeOfRearing": { "$ref": "#/definitions/itemLongText" },
"placeOfSlaughter": { "$ref": "#/definitions/itemLongText" },
"origin": { "$ref": "#/definitions/itemNameText" },
"thirdPartyLogoOtherText": { "$ref": "#/definitions/itemLongText" },
"recyclingScheme": { "$ref": "#/definitions/itemStatement" },
"recyclingOtherText": { "$ref": "#/definitions/itemLongText" },
"importerAddress": { "$ref": "#/definitions/itemMemo" },
"distributorAddress": { "$ref": "#/definitions/itemMemo" },
"telephoneHelpline": { "$ref": "#/definitions/itemLongText" },
"emailHelpline": { "$ref": "#/definitions/itemLongText" },
"webAddress": { "$ref": "#/definitions/itemLongText" },
"nutritionalClaims": { "$ref": "#/definitions/itemLongText" },
"healthClaims": { "$ref": "#/definitions/itemLongText" },
"subBrand": { "$ref": "#/definitions/itemNameText" },
"regulatedProductName": { "$ref": "#/definitions/itemMemo" },
"calculatedNutritionOrdering": { "$ref": "#/definitions/itemNameLookup" },
"servings": { "$ref": "#/definitions/itemNameText" },
"glns": { "$ref": "#/definitions/itemNameText" },
"manufacturerName": { "$ref": "#/definitions/itemLongText" },
"gS1Category": { "$ref": "#/definitions/itemNameText" },
"nappySizeOtherText": { "$ref": "#/definitions/itemMemo" },
"safebrandCategory": { "$ref": "#/definitions/itemNameLookup" },
"safebrandNetContent": { "$ref": "#/definitions/itemNameTextLookup" },
"notificationNumber": { "$ref": "#/definitions/itemNameText" },
"alternativeDescription": { "$ref": "#/definitions/itemNameText" },
"shelfLife": { "$ref": "#/definitions/itemNameTextLookup" },
"catchWeightMeasurements": { "$ref": "#/definitions/itemNameTextLookup" },
"allergenTagFormat": { "$ref": "#/definitions/itemStatement" },
"allergenTagText": { "$ref": "#/definitions/itemMemo" },
"taggableInformation": { "$ref": "#/definitions/itemTaggedMemo" },
"taggableIngredients": { "$ref": "#/definitions/itemTaggedLongText" },
"frontOfPackNutrition": { "$ref": "#/definitions/itemFrontOfPackGDA" },
"cosmeticStatements": { "$ref": "#/definitions/itemStatement" },
"productComposition": { "$ref": "#/definitions/itemNameLookup" },
"petType": { "$ref": "#/definitions/itemNameLookup" },
"additionalCategory": { "$ref": "#/definitions/itemNameLookup" },
"descriptionBreakdown": { "$ref": "#/definitions/itemNameText" },
"sizeVariant": { "$ref": "#/definitions/itemStatement" },
"latinNameOfFish": { "$ref": "#/definitions/itemLongText" },
"qualityStatements": { "$ref": "#/definitions/itemStatement" },
"freeTextAverageSize": { "$ref": "#/definitions/itemLongText" },
"class": { "$ref": "#/definitions/itemNameLookup" },
"farmingMethod": { "$ref": "#/definitions/itemLongText" },
"usageCount": { "$ref": "#/definitions/itemNameTextLookup" },
"companyName": { "$ref": "#/definitions/itemLongText" },
"companyAddress": { "$ref": "#/definitions/itemMemo" },
"usageOtherText": { "$ref": "#/definitions/itemLongText" },
"bulbSpecifications": { "$ref": "#/definitions/itemNameLookup" },
"trademarkInformation": { "$ref": "#/definitions/itemMemo" },
"taggableAllergyText": { "$ref": "#/definitions/itemTaggedMemo" },
"allergyText": { "$ref": "#/definitions/itemMemo" },
"quantitativeIngredientDeclaration": { "$ref": "#/definitions/itemLongText" },
"cLPRegulation": { "$ref": "#/definitions/itemNameLookup" },
"aISEWarnings": { "$ref": "#/definitions/itemStatement" },
"faxNumber": { "$ref": "#/definitions/itemLongText" },
"eggSize": { "$ref": "#/definitions/itemNameLookup" },
"durabilityAfterOpening": { "$ref": "#/definitions/itemNameTextLookup" },
"stiftungWarentest": { "$ref": "#/definitions/itemMemo" },
"warranty": { "$ref": "#/definitions/itemMemo" },
"creativeContent": { "$ref": "#/definitions/itemNameText" },
"sEOMetatag": { "$ref": "#/definitions/itemLongText" },
"sEOPageTitle": { "$ref": "#/definitions/itemMemo" },
"sEOPageDescription": { "$ref": "#/definitions/itemMemo" },
"shape": { "$ref": "#/definitions/itemNameLookup" },
"textileInformation": { "$ref": "#/definitions/itemNameText" },
"technicalSpecifications": { "$ref": "#/definitions/itemMemo" },
"generalProductType": { "$ref": "#/definitions/itemNameLookup" },
"design": { "$ref": "#/definitions/itemNameLookup" },
"materialFreeText": { "$ref": "#/definitions/itemLongText" },
"regionalName": { "$ref": "#/definitions/itemLongText" },
"price": { "$ref": "#/definitions/itemNameTextLookup" },
"foodLifeInformation": { "$ref": "#/definitions/itemNameText" },
"pickingAndPackaging": { "$ref": "#/definitions/itemMemo" },
"disclaimer": { "$ref": "#/definitions/itemMemo" },
"otherEans": { "$ref": "#/definitions/itemLongText" },
"newArrivals": { "$ref": "#/definitions/itemNameLookup" },
"sEOTags": { "$ref": "#/definitions/itemNameText" },
"aboutProductDescription": { "$ref": "#/definitions/itemMemo" },
"brandDescription": { "$ref": "#/definitions/itemMemo" },
"designDescription": { "$ref": "#/definitions/itemMemo" },
"lookPatternDescription": { "$ref": "#/definitions/itemMemo" },
"materialDescription": { "$ref": "#/definitions/itemMemo" },
"technicalDetailsDescription": { "$ref": "#/definitions/itemMemo" },
"technologyDescription": { "$ref": "#/definitions/itemMemo" },
"utilityDescription": { "$ref": "#/definitions/itemMemo" },
"washCareDescription": { "$ref": "#/definitions/itemMemo" },
"ingredientDescription": { "$ref": "#/definitions/itemMemo" },
"benefitDescription": { "$ref": "#/definitions/itemMemo" },
"colourCodes": { "$ref": "#/definitions/itemNameText" },
"complimentaryProducts": { "$ref": "#/definitions/itemLongText" },
"instructionalVideoContent": { "$ref": "#/definitions/itemLongText" },
"addedFeaturesAndBenefits": { "$ref": "#/definitions/itemMemo" },
"preferredCustomerFriendlyProductDescription": { "$ref": "#/definitions/itemMemo" },
"additionalAlcoholData": { "$ref": "#/definitions/itemNameTextLookup" },
"fruitAndVegetableVariety": { "$ref": "#/definitions/itemLongText" },
"wineStatements": { "$ref": "#/definitions/itemStatement" },
"lightFeatures": { "$ref": "#/definitions/itemNameText" },
"socialMedia": { "$ref": "#/definitions/itemLongText" },
"europeanCandleAssociationWarnings": { "$ref": "#/definitions/itemStatement" },
"promotionalInformation": { "$ref": "#/definitions/itemMemo" },
"suppliedDimension": { "$ref": "#/definitions/itemNameText" },
"suppliedWeight": { "$ref": "#/definitions/itemNameText" },
"suppliedShelfReadyPack": { "$ref": "#/definitions/itemNameText" },
"suppliedBreakPack": { "$ref": "#/definitions/itemNameText" },
"suppliedCase": { "$ref": "#/definitions/itemNameText" },
"suppliedUnitMerchandising": { "$ref": "#/definitions/itemNameText" },
"suppliedPallet": { "$ref": "#/definitions/itemNameText" },
"suppliedNewProductDevelopment": { "$ref": "#/definitions/itemNameLookup" },
"structuredNutritionUS": { "$ref": "#/definitions/itemStructuredNutrition" },
"structuredNutritionEU": { "$ref": "#/definitions/itemStructuredNutrition" },
"consumerChemicalsCanada": { "$ref": "#/definitions/itemNameLookup" },
"uSProductSpecifications": { "$ref": "#/definitions/itemNameText" },
"nutritionOtherText": { "$ref": "#/definitions/itemMemo" },
"fabricMaterial": { "$ref": "#/definitions/itemNameText" },
"cleaningCareInstructions": { "$ref": "#/definitions/itemMemo" },
"recommendedUses": { "$ref": "#/definitions/itemMemo" },
"postCode": { "$ref": "#/definitions/itemLongText" },
"taxDetails": { "$ref": "#/definitions/itemNameLookup" },
"wholesaleLaunchDetails": { "$ref": "#/definitions/itemNameText" },
"wholesaleProductSpecifications": { "$ref": "#/definitions/itemStatement" },
"activeIngredients": { "$ref": "#/definitions/itemLongText" },
"animalSpecifications": { "$ref": "#/definitions/itemNameText" },
"dosage": { "$ref": "#/definitions/itemMemo" },
"safeHandlingInstructions": { "$ref": "#/definitions/itemMemo" },
"stopUseIndications": { "$ref": "#/definitions/itemMemo" },
"feedingInstructions": { "$ref": "#/definitions/itemMemo" },
"structuredNutritionAUS": { "$ref": "#/definitions/itemStructuredNutrition" },
"australiaMadeLogo": { "$ref": "#/definitions/itemNameTextLookup" },
"australiaMadeLogoOtherText": { "$ref": "#/definitions/itemMemo" },
"globalProductClassificationGPC": { "$ref": "#/definitions/itemNameText" },
"healthStarRatingNumber": { "$ref": "#/definitions/itemNameLookup" },
"healthStarRatingOtherText": { "$ref": "#/definitions/itemMemo" },
"standardDrinksOtherText": { "$ref": "#/definitions/itemLongText" },
"foodLabelVersion": { "$ref": "#/definitions/itemNameLookup" },
"gS1SuppliedDimensions": { "$ref": "#/definitions/itemNameTextLookup" },
"normalizedProductDescription": { "$ref": "#/definitions/itemLongText" },
"preparationAndCookingSuggestions": { "$ref": "#/definitions/itemMemo" },
"productClaims": { "$ref": "#/definitions/itemMemo" },
"recordInfo": { "$ref": "#/definitions/itemNameText" },
"structuredNutritionCA": { "$ref": "#/definitions/itemStructuredNutrition" },
"netContent": { "$ref": "#/definitions/itemNameText" },
"packPromotionDetails": { "$ref": "#/definitions/itemNameText" },
"newLineType": { "$ref": "#/definitions/itemNameLookup" },
"pricePerUnit": { "$ref": "#/definitions/itemNameLookup" },
"caseType": { "$ref": "#/definitions/itemNameLookup" },
"tescoCategory": { "$ref": "#/definitions/itemNameLookup" },
"wholesalePriceDetails": { "$ref": "#/definitions/itemNameText" },
"supplierDeclarations": { "$ref": "#/definitions/itemStatement" },
"alternativeNumericSize": { "$ref": "#/definitions/itemNameText" },
"alternativeUnitSpecific": { "$ref": "#/definitions/itemNameLookup" },
"innerGtins": { "$ref": "#/definitions/itemLongText" },
"referenceIntakeStatement": { "$ref": "#/definitions/itemNameText" },
"compulsoryAdditiveInformation": { "$ref": "#/definitions/itemMemo" },
"countryOfOriginLabellingAUS": { "$ref": "#/definitions/itemNameText" },
"healthStarRating": { "$ref": "#/definitions/itemNameLookup" },
"healthStarRatingFooter": { "$ref": "#/definitions/itemLongText" },
"suppliedAlcoholInfo": { "$ref": "#/definitions/itemNameText" },
"pernodRicardPackType": { "$ref": "#/definitions/itemNameLookup" },
"pernodRicardCategory": { "$ref": "#/definitions/itemNameLookup" },
"gS1Smartsearch": { "$ref": "#/definitions/itemMemo" },
"nielsenImageDetails": { "$ref": "#/definitions/itemMemo" },
"fishCatchArea": { "$ref": "#/definitions/itemStatement" },
"nutriScore": { "$ref": "#/definitions/itemNameLookup" },
"mediumMarketingDescription": { "$ref": "#/definitions/itemMemo" },
"legalProductStatus": { "$ref": "#/definitions/itemNameText" },
"indicationOfUse": { "$ref": "#/definitions/itemMemo" },
"salesRestriction": { "$ref": "#/definitions/itemMemo" },
"taggableIngredientsPharma": { "$ref": "#/definitions/itemTaggedLongText" },
"taggableOtherIngredients": { "$ref": "#/definitions/itemTaggedLongText" },
"pRNumber": { "$ref": "#/definitions/itemLongText" },
"ingredientConcentration": { "$ref": "#/definitions/itemLongText" },
"ingredientsPharma": { "$ref": "#/definitions/itemLongText" },
"otherIngredients": { "$ref": "#/definitions/itemLongText" },
"dosageReccomendation": { "$ref": "#/definitions/itemMemo" },
"drugSideEffectsAndWarnings": { "$ref": "#/definitions/itemMemo" },
"dosageFormType": { "$ref": "#/definitions/itemNameText" },
"nonFoodNutrition": { "$ref": "#/definitions/itemMemo" },
"nonFoodIngredientStatement": { "$ref": "#/definitions/itemLongText" },
"pharmacyCategory": { "$ref": "#/definitions/itemNameLookup" },
"consumerSalesConditionCode": { "$ref": "#/definitions/itemNameLookup" },
"regulatoryPermitIdentification": { "$ref": "#/definitions/itemNameText" },
"additionalTradeItemIdentification": { "$ref": "#/definitions/itemNameTextLookup" },
"uniformResourceIdentifier": { "$ref": "#/definitions/itemMemo" },
"servingSizeDescription": { "$ref": "#/definitions/itemNameText" },
"tags": { "$ref": "#/definitions/itemTaggedMemoTags" }
}
}
}
}
},
"product": {
"type": "object",
"properties": {
"description": { "type": "string" },
"gtin": { "type": "string" },
"gln": { "type": "string" },
"brandbankCode": { "type": "string" },
"pvid": { "type": "string" },
"subscriber": {
"type": "object",
"properties": {
"id": { "type": "integer" },
"code": { "type": "string" }
}
},
"versionDateTime": { "type": "string" },
"targetMarkets": {
"type": "array",
"items": { "type": "string" }
},
"updateType": { "type": [ "string", "null" ] },
"eu1169Compliance": { "type": "string" },
"defaultLanguage": { "type": "string" },
"categories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"level": { "type": "integer" },
"code": { "type": "string" },
"description": { "type": "string" }
}
}
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"shotTypeId": { "type": "integer" },
"shotType": { "type": "string" },
"mimeType": { "type": "string" },
"thumbprint": { "type": "string" },
"fileName": { "type": "string" },
"url": {
"type": "object",
"properties": {
"href": { "type": "string" },
"expiryDateTime": { "type": [ "string", "null" ] }
}
},
"measurementUnit": { "type": "string" },
"width": { "type": "integer" },
"height": { "type": "integer" }
},
"required": [ "shotTypeId", "shotType", "mimeType" ]
}
},
"objects": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "integer" },
"documentTypeId": { "type": "integer" },
"documentType": { "type": "string" },
"mimeType": { "type": "string" },
"sizeInBytes": { "type": "string" },
"fileName": { "type": "string" },
"url": {
"type": "object",
"properties": {
"href": { "type": "string" },
"expiryDateTime": { "type": [ "string", "null" ] }
}
}
}
}
},
"assets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "integer" },
"placeholderName": { "type": "string" },
"mimeType": { "type": "string" },
"filename": { "type": "string" },
"fileExtension": { "type": "string" },
"sizeInBytes": { "type": "string" },
"url": {
"type": "object",
"properties": {
"href": { "type": "string" },
"expiryDateTime": { "type": [ "string", "null" ] }
}
},
"thumbprint": { "type": "string" }
}
}
},
"languages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"language": { "type": "string" },
"code": { "type": "string" },
"description": { "type": "string" },
"groupingSets": { "$ref": "#/definitions/groupingSets" },
"parts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"partNo": { "type": "integer" },
"description": { "type": "string" },
"groupingSets": { "$ref": "#/definitions/groupingSets" }
},
"required": [ "partNo", "description" ]
}
}
},
"required": [ "language", "code", "description", "groupingSets" ]
}
},
"extendedData": { "type": "object" }
},
"required": [
"description",
"subscriber",
"versionDateTime",
"updateType",
"eu1169Compliance",
"defaultLanguage",
"images",
"objects",
"assets",
"languages"
]
}
},
"anyOf": [
{ "$ref": "#/definitions/product" },
{
"type": "array",
"items": {
"$ref": "#/definitions/product"
}
}
]
}