{"openapi":"3.0.1","info":{"title":"EdiNation API","version":"2"},"paths":{},"components":{"schemas":{"ST":{"required":["TransactionSetControlNumber_02","TransactionSetIdentifierCode_01"],"type":"object","properties":{"TransactionSetIdentifierCode_01":{"maxLength":3,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"143"},"TransactionSetControlNumber_02":{"maxLength":9,"minLength":4,"type":"string","format":"X12_AN","x-openedi-element-id":"329"},"ImplementationConventionPreference_03":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"1705"}},"x-openedi-segment-id":"ST"},"X12_ID_558":{"enum":["A","B","C","D","N","R","U"],"type":"string","format":"X12_ID_558"},"B1":{"required":["ShipmentIdentificationNumber_02"],"type":"object","properties":{"StandardCarrierAlphaCode_01":{"maxLength":4,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"140"},"ShipmentIdentificationNumber_02":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"145"},"BookingDate_03":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"239"},"ReservationActionCode_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_558"}],"x-openedi-element-id":"558"}},"x-openedi-segment-id":"B1"},"X12_ID_313":{"enum":["BC","CA","FN","LO","NR","PP","RC","RV","SH","SO"],"type":"string","format":"X12_ID_313"},"Y6":{"required":["Authority_02","AuthorizationDate_03"],"type":"object","properties":{"AuthorityIdentifierCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_313"}],"x-openedi-element-id":"313"},"Authority_02":{"maxLength":20,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"151"},"AuthorizationDate_03":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"275"}},"x-openedi-segment-id":"Y6"},"Y5":{"required":["BookingNumber_01"],"type":"object","properties":{"BookingNumber_01":{"maxLength":17,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"13"}},"x-openedi-segment-id":"Y5"},"X12_ID_304":{"enum":["AAD","ADR","ALR","ALV","ARD","ARI","ARR","BAD","BFR","BHV","BLG","CRD","CSL","DDL","DFL","DRM","EAD","EDD","EFT","ERD","FTE","HAR","HMI","HRE","IBD","ICH","ICR","IRD","NOB","PAC","PCO","PFP","RAM","REC","RLO","RMT","RYD","SLD","SPT","STN","STP","STS","STU","TMA","TMD","TRN","TRP","UNS","ZZZ"],"type":"string","format":"X12_ID_304"},"X12_ID_641":{"enum":["001","002","003","004","005","006","007","008","009","010","011","012","013","014","015","016","017","018","019","020","021","022","023","024","025","026","027","028","029","030","031","A01","A02","A03","A04","A05","A06","A07","A08","A09","A10","A11","A12","A13","A14","A15","A16","A17","A18","A19","A20","A21","A22","A23","A24","A25","A26","A27","A28","A29","A30","A31","A32","A33","A34","A36","A37","A38","A39","A40","A41","A42","A43","A45","A46","A49","A50","A51","A52","A55","A58","A59","A61","A63","A64","A65","A73","A74","A84","A91","A95","A96","A98","A99","ABN","ACC","ACD","AGC","AGD","B01","B02","B03","B04","B05","B06","B07","B08","B09","B10","B11","B12","B13","B14","B15","B16","B17","B18","B19","B20","B21","B22","B23","B24","B25","B26","B27","B28","B29","B30","B31","B32","B33","B34","B35","B36","B37","B38","B39","B40","B41","B42","B43","B44","B45","B46","B47","B48","B49","B50","B51","C01","C02","C03","C04","C05","C06","C07","C08","C09","C10","C11","C12","D01","D02","D03","D04","D05","D06","D07","D08","D09","D10","D11","D12","D13","D14","D15","D16","D17","D18","D19","D20","D21","D22","D23","D24","D25","D26","D27","D28","D29","D30","D50","EB1","EB2","EB3","EB4","EB5","EB6","EB7","EB8","EB9","EBA","ENR","ERR","F73","F74","IV1","IV2","NOR","P01","P02","P03","P04","P05","P06","P07","S01","T01","T02","T03","T04","T05","T06","T07","UCD","UND","W01","W02","W03","W04","W05","W06","W07","W08","W09","W10","W11","W12","W13","W14","W15","W16","WTP","ZZZ"],"type":"string","format":"X12_ID_641"},"X12_ID_623":{"enum":["01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","CD","CS","CT","ED","ES","ET","GM","LT","MD","MS","MT","PD","PS","PT","UT"],"type":"string","format":"X12_ID_623"},"V9":{"required":["EventCode_01"],"type":"object","properties":{"EventCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_304"}],"x-openedi-element-id":"304"},"Event_02":{"maxLength":25,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"106"},"Date_03":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"Time_04":{"maxLength":8,"minLength":4,"type":"string","format":"X12_TM","x-openedi-element-id":"337"},"CityName_05":{"maxLength":30,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"19"},"StateorProvinceCode_06":{"maxLength":2,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"156"},"CountryCode_07":{"maxLength":3,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"26"},"StatusReasonCode_08":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_641"}],"x-openedi-element-id":"641"},"StandardPointLocationCode_09":{"maxLength":9,"minLength":6,"type":"string","format":"X12_AN","x-openedi-element-id":"154"},"Time_10":{"maxLength":8,"minLength":4,"type":"string","format":"X12_TM","x-openedi-element-id":"337"},"TrainDelayReasonCode_11":{"maxLength":2,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"1274"},"FreeFormMessage_12":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"61"},"TimeCode_13":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_623"}],"x-openedi-element-id":"623"}},"x-openedi-syntax":["C1304"],"x-openedi-segment-id":"V9"},"SE":{"required":["NumberofIncludedSegments_01","TransactionSetControlNumber_02"],"type":"object","properties":{"NumberofIncludedSegments_01":{"maxLength":10,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"96"},"TransactionSetControlNumber_02":{"maxLength":9,"minLength":4,"type":"string","format":"X12_AN","x-openedi-element-id":"329"}},"x-openedi-segment-id":"SE"},"TS303":{"required":["B1","Y5"],"type":"object","properties":{"ST":{"$ref":"#/components/schemas/ST"},"B1":{"$ref":"#/components/schemas/B1","description":"Beginning Segment for Booking or Pick-up/Delivery"},"Y6":{"maxItems":2,"type":"array","items":{"$ref":"#/components/schemas/Y6"},"description":"Authentication"},"Y5":{"$ref":"#/components/schemas/Y5","description":"Space Booking Cancellation"},"V9":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/V9"},"description":"Event Detail"},"SE":{"$ref":"#/components/schemas/SE"}},"x-openedi-message-id":"303","x-openedi-message-standard":"X12"}}}}