-
Notifications
You must be signed in to change notification settings - Fork 21
/
emanifest.json
1217 lines (1217 loc) · 41.6 KB
/
emanifest.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
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Schema for emanifest submit (save, update, correct). v1.3. Added entities: mtnValidationInfo, broker",
"version": "1.3",
"$ref": "#/definitions/Emanifest",
"definitions": {
"Emanifest": {
"description": "Object that contians all manifest data",
"type": "object",
"properties": {
"createdDate": {
"description": "Will be returned by Get Manifest. Shall not be provided for Save and Update Manifest. Example: 2018-01-22T05:07:00.00Z",
"type": "string",
"format": "date-time"
},
"updatedDate": {
"description": "Will be returned by Get Manifest. Shall not be provided for Save and Update Manifest. Example: 2018-01-22T05:07:00.00Z",
"type": "string",
"format": "date-time"
},
"manifestTrackingNumber": {
"$ref": "#/definitions/ManifestTrackingNumber"
},
"status": {
"description": " Will be returned by Get Manifest. Status shall not be provided for Save and Update Manifest Service for Image and DataImage5Copy. ",
"type": "string",
"enum": [
"NotAssigned",
"Pending",
"Scheduled",
"InTransit",
"ReadyForSignature",
"Signed",
"Corrected",
"UnderCorrection",
"MtnValidationFailed"
]
},
"isPublic": {
"description": "Indicates if the manifest is public. Will be returned by Get Manifest. Shall not be provided by Save and Update Manifest",
"type": "boolean"
},
"submissionType": {
"type": "string",
"enum": [
"FullElectronic",
"DataImage5Copy",
"Hybrid",
"Image"
]
},
"signatureStatus": {
"description": "Indicates if manifest was signed by TSDF. Will be returned by Get Manifest. Shall not be provided by Save and Update Manifest",
"type": "boolean"
},
"originType": {
"description": "Specifies how the manifest was created. Will be returned by Get Manifest. Shall not be provided for Save and Update Manifest. ",
"type": "string",
"enum": [
"Web",
"Service",
"Mail"
]
},
"shippedDate": {
"description": "Will be returned by Get Manifest. Shall not be provided for Save and Update Manifest.",
"type": "string",
"format": "date-time"
},
"potentialShipDate": {
"type": "string"
},
"receivedDate": {
"description": "Will be returned by Get Manifest. Shall not be provided for Save and Update Manifest.",
"type": "string",
"format": "date-time"
},
"certifiedDate": {
"description": "Will be returned by Get Manifest. Shall not be provided for Save and Update Manifest.",
"type": "string",
"format": "date-time"
},
"certifiedBy": {
"description": "Will be returned by Get Manifest. Shall not be provided for Save and Update Manifest.",
"$ref": "#/definitions/Signer"
},
"generator": {
"$ref": "#/definitions/ManifestHandlerSite"
},
"transporters": {
"description": "contains list of transporters",
"type": "array",
"items": {
"$ref": "#/definitions/ManifestHandlerSite"
}
},
"designatedFacility": {
"$ref": "#/definitions/ManifestHandlerSite"
},
"broker": {
"$ref": "#/definitions/ManifestHandlerSite"
},
"wastes": {
"description": "Object containing all the wastes for a manifest",
"type": "array",
"items": {
"$ref": "#/definitions/Waste"
}
},
"rejection": {
"description": "Specifies if manifest is rejected",
"type": "boolean"
},
"rejectionInfo": {
"description": "If manifest is rejected the entitiy shall contain rejection information",
"type": "object",
"properties": {
"transporterOnSite": {
"description": "Specifies if transporter is on site at the time of rejection",
"type": "boolean"
},
"rejectionType": {
"type": "string",
"enum": [
"FullReject",
"PartialReject"
]
},
"alternateDesignatedFacilityType": {
"description": "Specifies the type of the alternate facility for shipping rejected waste",
"type": "string",
"enum": [
"Generator",
"Tsdf"
]
},
"generatorPaperSignature": {
"$ref": "#/definitions/PaperSignature"
},
"generatorElectronicSignature": {
"$ref": "#/definitions/ElectronicSignature"
},
"alternateDesignatedFacility": {
"$ref": "#/definitions/ManifestHandlerSite"
},
"newManifestTrackingNumbers": {
"description": "Contains the list of MTNs for shipping of the rejected waste. Expected format: 9 digits followed by suffix containing 3 upper case letters. Use printed-tracking-number-suffixes service to obtain the list of valide suffixes. Regex expression validation: [0-9]{9}[A-Z]{3}",
"type": "array",
"items": {
"type": "string"
}
},
"rejectionComments": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"additionalProperties": false
},
"discrepancy": {
"description": "Discrepancy indicator. Will be set to true if at least one Waste contains a discrepancy. Shall not be provided for Save and Update Manifest Services. Will be returned by Get Manifest service",
"type": "boolean"
},
"residue": {
"description": "Residue indicator. Will be set to true if at least one Waste contains a residue. Shall not be provided for Save and Update Manifest Services. Will be returned by Get Manifest service",
"type": "boolean"
},
"residueNewManifestTrackingNumbers": {
"description": "If the Manifest.residue is true the entity contains the list of Manifest Tracking Numbers of the Manifests created for shipment to another facilities. Expected format: 9 digits followed by suffix containing 3 upper case letters. Use printed-tracking-number-suffixes service to obtain the list of valide suffixes. Regex expression validation: [0-9]{9}[A-Z]{3} ",
"type": "array",
"items": {
"type": "string"
}
},
"import": {
"description": "Import indicator.",
"type": "boolean"
},
"importInfo": {
"description": "Contains Import related information",
"type": "object",
"properties": {
"importGenerator": {
"description": "The generator of the waste in the foreign country",
"type": "object",
"properties": {
"name": {
"description": "max length 80",
"type": "string"
},
"address": {
"description": "max length 50",
"type": "string"
},
"city": {
"description": "max length 25",
"type": "string"
},
"country": {
"$ref": "#/definitions/Locality"
},
"postalCode": {
"description": "max length 25",
"type": "string"
},
"province": {
"description": "max length 50",
"type": "string"
}
},
"additionalProperties": false
},
"portOfEntry": {
"$ref": "#/definitions/PortOfEntry"
}
},
"additionalProperties": false
},
"correctionRequests": {
"description": "Contains State Correction Requests for a manifest",
"type": "array",
"items": {
"$ref": "#/definitions/CorrectionRequest"
}
},
"containsPreviousRejectOrResidue": {
"description": "If the new manifest is created for shiping the waste to another TSDF or back to the Generator for rejection or residure reasons then containsPreviousRejectOrResidue=true otherwise it is false",
"type": "boolean"
},
"printedDocument": {
"$ref": "#/definitions/Document"
},
"formDocument": {
"$ref": "#/definitions/Document"
},
"additionalInfo": {
"$ref": "#/definitions/AdditionalInfo"
},
"correctionInfo": {
"$ref": "#/definitions/CorrectionInfo"
},
"ppcStatus": {
"description": "Contains PPC processing status for Mail and DataImage5Copy manifests. Shall not be provided for Save and Update services. Will be returned by Get Manifest service",
"type": "string",
"enum": [
"Draft",
"PendingDataEntry",
"DataEntryInProgress",
"PendingDataQc",
"PendingDataQa",
"DataQaCompleted"
]
},
"mtnValidationInfo": {
"$ref": "#/definitions/MtnValidationInfo"
},
"provideImageGeneratorInfo": {
"description": "Indicates if Generator information and Generator printed signature date was provided for the Image submission type manifest. Shall not be provided for Save Manifest service. Will be returned by get manifest service as a part of Manifest for the manifests with Image and submission type",
"type": "boolean"
},
"locked": {
"description": "Indicates if manifest is locked for update, delete, correct, revert services. If locked is true the manifest is in signing queue. Shall not be provided for Save and Update Manifest service. Will be returned by get manifest service",
"type": "boolean"
},
"lockReason": {
"type": "string",
"enum": [
"AsyncSign",
"EpaChangeBiller",
"EpaCorrection"
]
}
},
"additionalProperties": false
},
"Warning": {
"description": "Object that returns any warnings that the system generates",
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string",
"minLength": 0,
"maxLength": 255
}
},
"required": [
"code",
"message"
],
"additionalProperties": false
},
"ManifestTrackingNumber": {
"description": "Will be returned by Get Manifest. Shall not be provided for a FullElectronic or Hybrid using the Save Manifest Service. Required for a DataImage5Copy and Image Only manifest. Expected format: 9 digits followed by suffix containing 3 upper case letters. Use printed-tracking-number-suffixes service to obtain the list of valide suffixes. Regex expression validation: [0-9]{9}[A-Z]{3}",
"type": "string"
},
"DotInformation": {
"description": "Object containing all DOT information",
"type": "object",
"properties": {
"idNumber": {
"$ref": "#/definitions/Code"
},
"printedDotInformation": {
"description": "Contains Proper Shipping Name, RQ Description, Technical Name, ID Number, Hazard Class, Packing Group and any user edits",
"type": "string",
"maxLength": 500
}
},
"required": [
"idNumber",
"printedDotInformation"
],
"additionalProperties": false
},
"QuantityUnitsOfMeasurement": {
"description": "Units of Measurement for the waste line quantity",
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 1,
"maxLength": 1,
"enum": [
"P",
"T",
"K",
"M",
"G",
"L",
"Y",
"N"
]
},
"description": {
"type": "string",
"enum": [
"Pounds",
"Tons (2000 Pounds)",
"Kilograms",
"Metric Tons (1000 Kilograms)",
"Gallons",
"Liters",
"Cubic Yards",
"Cubic Meters"
]
}
},
"required": [
"code"
],
"additionalProperties": false
},
"ContainerType": {
"description": "Type of container for waste line",
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"enum": [
"BA",
"DT",
"CF",
"DW",
"CM",
"HG",
"CW",
"TC",
"CY",
"TP",
"DF",
"TT",
"DM"
]
},
"description": {
"type": "string",
"enum": [
"Burlap, cloth, paper, or plastic bags",
"Dump truck",
"Fiber or plastic boxes, cartons, cases",
"Wooden drums, barrels, kegs",
"Metal boxes, cartons, cases (including roll offs)",
"Hopper or gondola cars",
"Wooden boxes, cartons, cases",
"Tank cars",
"Cylinders",
"Portable tanks",
"Fiberboard or plastic drums, barrels, kegs",
"Cargo tanks (tank trucks)",
"Metal drums, barrels, kegs"
]
}
},
"required": [
"code"
],
"additionalProperties": false
},
"DensityUnitsOfMeasurement": {
"description": "Density Units shall be provided if density is provoided",
"type": "object",
"properties": {
"code": {
"description": "Either \"1\" or \"2\" can be provided",
"type": "string"
},
"description": {
"description": "Either \"lbs/gal\" or \"sg\" can be provided",
"type": "string"
}
},
"additionalProperties": false
},
"Waste": {
"description": "Object containing the each waste line",
"type": "object",
"properties": {
"dotHazardous": {
"description": "Specifies that the substance is hazardous by DOT definition. This indicator does not specify if the substance is a waste. If dotHazardous is true then dotInformation is required. If dotHazardous is false then wasteDescription is required",
"type": "boolean"
},
"dotInformation": {
"$ref": "#/definitions/DotInformation"
},
"wasteDescription": {
"description": "Only required if dotHazardous is false. Max length: 500 charachters",
"type": "string"
},
"quantity": {
"$ref": "#/definitions/Quantity"
},
"brInfo": {
"$ref": "#/definitions/BrInfo"
},
"br": {
"description": "Specifies if BR information is provided",
"type": "boolean"
},
"hazardousWaste": {
"$ref": "#/definitions/HazardousWaste"
},
"pcb": {
"description": "Specifies if the waste contains PCB",
"type": "boolean"
},
"pcbInfos": {
"description": "Contains list of PCB info",
"type": "array",
"items": {
"$ref": "#/definitions/PcbInfo"
}
},
"discrepancyResidueInfo": {
"description": "Object containing the discrepancy and residue information for the waste line",
"type": "object",
"properties": {
"wasteQuantity": {
"description": "Indicates if the Waste has quantity type discrepancy. Shall be provided in Save and Update Manifest services",
"type": "boolean"
},
"wasteType": {
"description": "Indicates if the Waste has waste type discrepancy. Shall be provided in Save and Update Manifest services",
"type": "boolean"
},
"discrepancyComments": {
"description": "Discrepancy comments are mandatory if either wasteQuantity is true or wasteType is true",
"type": "string",
"minLength": 1,
"maxLength": 255
},
"residue": {
"description": "Indicates if the Waste has a residue",
"type": "boolean"
},
"residueComments": {
"type": "string",
"minLength": 1,
"maxLength": 255
}
},
"additionalProperties": false
},
"managementMethod": {
"$ref": "#/definitions/CodeDescription"
},
"additionalInfo": {
"$ref": "#/definitions/AdditionalInfo"
},
"lineNumber": {
"description": "The Waste line number. Integer number starting at 1",
"type": "number"
},
"epaWaste": {
"description": "Specifies if the substance is a waste by EPA definition. This indicator does not specify if the substance is hazardous",
"type": "boolean"
}
},
"required": [
"dotHazardous",
"br",
"pcb",
"lineNumber",
"epaWaste"
],
"additionalProperties": false
},
"PcbInfo": {
"description": "Object containing PCB information",
"type": "object",
"properties": {
"loadType": {
"$ref": "#/definitions/Code"
},
"articleContainerId": {
"description": "Max Length: 255",
"type": "string"
},
"dateOfRemoval": {
"type": "string",
"format": "date-time"
},
"weight": {
"description": "UOM are Killograms. Decimal number containing no more than 11 whole digit(s) and 6 decimal digit(s) ",
"type": "number"
},
"wasteType": {
"description": "Max Length: 255",
"type": "string"
},
"bulkIdentity": {
"description": "Max Length: 255",
"type": "string"
}
},
"additionalProperties": false
},
"BrInfo": {
"description": "Entity containing Biennial Report Fields",
"type": "object",
"properties": {
"density": {
"description": "Contains waste density if Quantity UOM are volume. 0 < Positive number <= 999.99 shall be provided with 2 decimal points. ",
"type": "number"
},
"densityUnitOfMeasurement": {
"$ref": "#/definitions/DensityUnitsOfMeasurement"
},
"formCode": {
"$ref": "#/definitions/CodeDescription"
},
"sourceCode": {
"$ref": "#/definitions/CodeDescription"
},
"wasteMinimizationCode": {
"$ref": "#/definitions/CodeDescription"
},
"mixedRadioactiveWaste": {
"description": "Specifies if this is mixed radioactive waste",
"type": "boolean"
}
},
"additionalProperties": false
},
"Quantity": {
"description": "Object containing the Number of containers, type of container, the total quantity and total qunatity units of measurement",
"type": "object",
"properties": {
"containerNumber": {
"description": "Number of containers this waste line occupies",
"type": "integer",
"minimum": 0,
"maximum": 99999
},
"containerType": {
"$ref": "#/definitions/ContainerType"
},
"quantity": {
"description": "Waste line quantity",
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"unitOfMeasurement": {
"$ref": "#/definitions/QuantityUnitsOfMeasurement"
}
},
"dependencies": {
"quantity": [
"unitOfMeasurement"
]
},
"additionalProperties": false
},
"HazardousWaste": {
"description": "Object containing federal and state waste codes",
"type": "object",
"properties": {
"federalWasteCodes": {
"description": "Entity containing Federally Defined Waste Codes",
"type": "array",
"items": {
"$ref": "#/definitions/CodeDescription"
}
},
"tsdfStateWasteCodes": {
"description": "Entity containing Waste Codes for the State where the TSDF is located",
"type": "array",
"items": {
"$ref": "#/definitions/CodeDescription"
}
},
"txWasteCodes": {
"description": "Entity containing Waste Codes if Generator or/and TSDF is located in TX",
"type": "array",
"items": {
"type": "string",
"minLength": 8,
"maxLength": 8
}
},
"generatorStateWasteCodes": {
"description": "Entity containing Waste Codes for the State where the Generator is located",
"type": "array",
"items": {
"$ref": "#/definitions/CodeDescription"
}
}
},
"additionalProperties": false
},
"AdditionalInfo": {
"description": "Entity containing Additional Information. Both Manifest and individual Wastes can contain this entitiy",
"type": "object",
"properties": {
"originalManifestTrackingNumbers": {
"description": "Used only for the Manifest.additionalInfo if Eanifest.containsPreviousRejectOrResidue== true Expected format: 9 digits followed by suffix containing 3 upper case letters. Use printed-tracking-number-suffixes service to obtain the list of valide suffixes. Regex expression validation: [0-9]{9}[A-Z]{3}",
"type": "array",
"items": {
"type": "string"
}
},
"newManifestDestination": {
"description": "Used only for the Manifest.additionalInfo if Eanifest.containsPreviousRejectOrResidue== true. Specifies destination of the new manifest created \"as result\" of the rejection or residue of the original manifest.",
"type": "string",
"enum": [
"OriginalGenerator",
"Tsdf"
]
},
"consentNumber": {
"description": "Used only for the Waste.additionalInfo in case of Import. Expected format 12 digits. 6 digits \"I\" and then 5 digits. Pattern ([0-9]{6}I[0-9]{5}) ",
"type": "string"
},
"comments": {
"description": "Entity defined reference information",
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"description": "Label describing the reference information. Maxl length 255",
"type": "string"
},
"description": {
"description": "Data for the reference information descrbied by the label. Max length 255",
"type": "string"
},
"handlerId": {
"description": "Handler ID of site related to this reference information. expected format : Two Letter Activity Location Code + Up to 10 alphanumeric characters ",
"type": "string"
}
},
"additionalProperties": false
}
},
"handlingInstructions": {
"description": "Special Handling Instructions. Max length 4000",
"type": "string"
},
"pcbAlternateDesignatedFacility": {
"$ref": "#/definitions/ManifestHandlerSite"
}
},
"additionalProperties": false
},
"ManifestHandlerSite": {
"description": "Object contianing site information",
"type": "object",
"properties": {
"siteType": {
"$ref": "#/definitions/SiteType"
},
"epaSiteId": {
"$ref": "#/definitions/EpaSiteId"
},
"name": {
"type": "string",
"maxLength": 80
},
"mailingAddress": {
"$ref": "#/definitions/Address"
},
"siteAddress": {
"$ref": "#/definitions/Address"
},
"contact": {
"$ref": "#/definitions/Contact"
},
"emergencyPhone": {
"$ref": "#/definitions/Phone"
},
"paperSignatureInfo": {
"$ref": "#/definitions/PaperSignature"
},
"electronicSignaturesInfo": {
"type": "array",
"items": {
"$ref": "#/definitions/ElectronicSignature"
}
},
"order": {
"description": "Transporter Order. Used for Transporters only",
"type": "number"
},
"registered": {
"description": "Indicates if the site is registered in RCRAInfo. Used for Transporters and Generators only. Shall not be provided for Save and update services. Will be returned by Get Manifest Service",
"type": "boolean"
},
"modified": {
"description": "Indicates if the site information was modified from what was on the handler’s notification form. Shall not be provided for Save and update services. Will be returned by Get Manifest Service",
"type": "boolean"
},
"limitedEsign": {
"description": "Indicates if there is at least one preparer user associated with the site which can quick sign. Will be returned by get manifest service. Shall not be provided for save, update, correct services.",
"type": "boolean"
},
"canEsign": {
"description": "Indicates if there is at least one user associated with the site which can electronicaly sign. Will be returned by get manifest service. Shall not be provided for save, update, correct services.",
"type": "boolean"
},
"siteState": {
"$ref": "#/definitions/Locality"
},
"hasRegisteredEmanifestUser": {
"description": "Indicates if there is at least one registered user associated with the site. Will be returned by get manifest service. Shall not be provided for save, update, correct services.",
"type": "boolean"
},
"gisPrimary": {
"description": "Indicates if site address1 is lat/long primary. Will be returned by get manifest service. Shall not be provided for save, update, correct services.",
"type": "boolean"
}
},
"additionalProperties": false
},
"PaperSignature": {
"description": "Contains printed name of the Generator or TSDF or Transporter Signee and Date of Signature. ",
"type": "object",
"properties": {
"printedName": {
"type": "string",
"maxLength": 255
},
"signatureDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"ElectronicSignature": {
"description": "Contains Generator or TSDF or Transporter Signer Info, Date of Signature and Signed document metadata. Shall not be provided for Save and Update services. Will be returned by Get Manifest Service if the participant (Generator, Transporter, TSDF) Electronicaly signed the manifest",
"type": "object",
"properties": {
"signer": {
"$ref": "#/definitions/Signer"
},
"signatureDate": {
"type": "string",
"format": "date-time"
},
"humanReadableDocument": {
"$ref": "#/definitions/Document"
},
"cromerrActivityId": {
"type": "string"
},
"cromerrDocumentId": {
"type": "string"
},
"signerRole": {
"description": "Indicates which entity signed the manifest. Industry, State, Ppc, Epa",
"type": "string",
"enum": [
"Industry",
"State",
"Ppc",
"Epa"
]
},
"signatureMethod": {
"description": "Indicates which method was used to sign the manifest: QuickerSign,QuickSign",
"type": "string",
"enum": [
"QuickerSign",
"QuickSign"
]
},
"onBehalf": {
"description": "Specifies if the signature is provided on behalf of the user",
"type": "boolean"
}
},
"additionalProperties": false
},
"SiteType": {
"description": "Specifies How a site interacts with this manifest",
"type": "string",
"enum": [
"Tsdf",
"Generator",
"Transporter",
"Broker"
]
},
"CompanyName": {
"description": "The name for each site on the manifest",
"type": "string",
"maxLength": 80
},
"EpaSiteId": {
"description": "The handler ID for each site on the manifest. For TSDF and registered Generators and Transporters must follow following format: Two Letter Activity Location Code + Up to 10. alphanumeric characters",
"type": "string"
},
"Phone": {
"description": "Object for Phone numbers",
"type": "object",
"properties": {
"number": {
"description": "Following format pattern shall be used: ###-###-####",
"type": "string"
},
"extension": {
"description": "max length 6",
"type": "string"
}
},
"required": [
"number"
],
"additionalProperties": false
},
"Contact": {
"description": "Object containing the information about the site contact for this manifest",
"type": "object",
"properties": {
"firstName": {
"description": "Max length is 38",
"type": "string"
},
"middleInitial": {
"description": " max lengs 1",
"type": "string"
},
"lastName": {
"description": "Max length is 38",
"type": "string"
},
"phone": {
"$ref": "#/definitions/Phone"
},
"email": {
"type": "string"
},
"companyName": {
"description": "max length 80",
"type": "string"
}
},
"additionalProperties": false
},
"Locality": {
"description": "Used for passing and returning State and Country",
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 2,
"maxLength": 2
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"code"
],
"additionalProperties": false
},
"Address": {
"description": "Object for Address information for handlers on this manifest",
"type": "object",
"properties": {
"streetNumber": {
"type": "string",
"maxLength": 12
},
"address1": {
"type": "string",
"maxLength": 50
},
"address2": {
"type": "string",
"maxLength": 50
},
"city": {
"type": "string",
"maxLength": 25
},
"state": {
"$ref": "#/definitions/Locality"
},
"country": {
"$ref": "#/definitions/Locality"
},
"zip": {
"description": "zip is required only for the US. If in US following pattern is used for the validation: \\d{5}(?:[-\\s]\\d{4})? ",
"type": "string"
}
},
"required": [
"address1"
],
"additionalProperties": false
},
"Signer": {
"description": "Contains Signer Information. Shall not be provided for Save and Update Manifest.",
"type": "object",
"properties": {
"userId": {
"type": "string"
},
"firstName": {
"description": "Max length is 38",
"type": "string"
},
"middleInitial": {
"description": " max lengs 1",
"type": "string"
},
"lastName": {
"description": "Max length is 38",
"type": "string"
},
"phone": {
"$ref": "#/definitions/Phone"
},
"email": {
"type": "string"
},
"companyName": {
"description": "max length 80",
"type": "string"
},
"contactType": {
"type": "string",
"enum": [
"Email",
"Text",
"Voice"
]
}
},
"additionalProperties": false
},
"PortOfEntry": {
"description": "Contains Port of entry State code and City or City name plus Port or Airport name separated by comma.",
"type": "object",
"properties": {
"state": {
"$ref": "#/definitions/Locality"
},
"cityPort": {
"type": "string",
"maxLength": 100
}
},
"additionalProperties": false
},
"Document": {
"description": "Attachments metadata formDocument is the PDF generated by EPA. printedDocument is the file uploaded to EPA, human readable Copy Of Record documents",
"type": "object",
"properties": {