{"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_353":{"enum":["00","01","02","03","04","05","06","07","08","10","11","12","13","14","15","16","17","18","19","20","21","22","24","25","26","27","28","30","31","32","33","34","35","36","37","38","41","42","43","44","45","46","47","48","49","50","51","52","53","54","5C","77","CN","CO","EX","GR","PR","RH","RV","SU","ZZ"],"type":"string","format":"X12_ID_353"},"X12_ID_813":{"enum":["A","H","I","J","M","N","O","R","S","W"],"type":"string","format":"X12_ID_813"},"X12_ID_1073":{"enum":["N","U","Y"],"type":"string","format":"X12_ID_1073"},"SMB":{"required":["Date_02","StationTypeCode_03","TransactionSetPurposeCode_01","YesNoConditionorResponseCode_08"],"type":"object","properties":{"TransactionSetPurposeCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_353"}],"x-openedi-element-id":"353"},"Date_02":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"StationTypeCode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_813"}],"x-openedi-element-id":"813"},"StandardPointLocationCode_04":{"maxLength":9,"minLength":6,"type":"string","format":"X12_AN","x-openedi-element-id":"154"},"StationTypeCode_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_813"}],"x-openedi-element-id":"813"},"StationTypeCode_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_813"}],"x-openedi-element-id":"813"},"StationTypeCode_07":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_813"}],"x-openedi-element-id":"813"},"YesNoConditionorResponseCode_08":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_1073"}],"x-openedi-element-id":"1073"}},"x-openedi-segment-id":"SMB"},"X12_ID_309":{"enum":["93","94","A","A1","AC","AP","AR","B","B1","BE","BL","BS","C","C2","CA","CC","CD","CI","CL","CO","CR","CS","CY","D","DC","DE","DP","DR","DT","E","EL","F","FA","FE","FF","FI","FR","FS","FT","FV","GL","H","IA","IM","IP","IS","IT","K","KE","KL","KP","L","M","MI","MS","NS","O","OA","OF","OL","OP","OR","OV","P","PA","PE","PL","PO","PP","PQ","PR","PS","PT","PU","RA","RC","RE","RG","RJ","RL","RS","RT","SB","SC","SD","SG","SH","SL","SN","SP","SS","ST","SW","TA","TC","TL","TM","TN","TR","TX","UN","UR","VS","W","WF","WH","ZN","ZZ"],"type":"string","format":"X12_ID_309"},"N4":{"type":"object","properties":{"CityName_01":{"maxLength":30,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"19"},"StateorProvinceCode_02":{"maxLength":2,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"156"},"PostalCode_03":{"maxLength":15,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"116"},"CountryCode_04":{"maxLength":3,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"26"},"LocationQualifier_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_309"}],"x-openedi-element-id":"309"},"LocationIdentifier_06":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"310"}},"x-openedi-syntax":["C0605"],"x-openedi-segment-id":"N4"},"X12_ID_259":{"enum":["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","T","W","X"],"type":"string","format":"X12_ID_259"},"CD":{"required":["ConditionSegmentLogicalConnector_01"],"type":"object","properties":{"ConditionSegmentLogicalConnector_01":{"maxLength":3,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"495"},"ConditionCode_02":{"maxLength":4,"minLength":4,"type":"string","format":"X12_AN","x-openedi-element-id":"498"},"ConditionValue_03":{"maxLength":10,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"499"},"ConditionValue_04":{"maxLength":10,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"499"},"ConditionValue_05":{"maxLength":10,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"499"},"AssignedNumber_06":{"maxLength":6,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"554"},"ChangeTypeCode_07":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_259"}],"x-openedi-element-id":"259"},"StandardCarrierAlphaCode_08":{"maxLength":4,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"140"},"DocketControlNumber_09":{"maxLength":7,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"697"},"DocketIdentification_10":{"maxLength":11,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"690"},"GroupTitle_11":{"maxLength":30,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"260"}},"x-openedi-syntax":["C0302","C0402","C0502","P080910"],"x-openedi-segment-id":"CD"},"X12_ID_674":{"enum":["C","O","Y"],"type":"string","format":"X12_ID_674"},"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","AD","AS","AT","CD","CS","CT","ED","ES","ET","GM","HD","HS","HT","LT","MD","MS","MT","PD","PS","PT","UT"],"type":"string","format":"X12_ID_623"},"SMS":{"required":["FreightStationAccountingCode_02","StandardCarrierAlphaCode_01"],"type":"object","properties":{"StandardCarrierAlphaCode_01":{"maxLength":4,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"140"},"FreightStationAccountingCode_02":{"maxLength":5,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"573"},"Date_03":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"RuleJunctionCode_04":{"maxLength":5,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"638"},"PostalCode_05":{"maxLength":15,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"116"},"ReciprocalSwitchCode_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_674"}],"x-openedi-element-id":"674"},"TimeCode_07":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_623"}],"x-openedi-element-id":"623"},"LocationIdentifier_08":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"310"},"LocationIdentifier_09":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"310"}},"x-openedi-segment-id":"SMS"},"X12_ID_852":{"enum":["A","C","M","T"],"type":"string","format":"X12_ID_852"},"SMA":{"required":["AddressInformation_02","AddressTypeCode_01","CityName_03","Date_06","PostalCode_05","StateorProvinceCode_04"],"type":"object","properties":{"AddressTypeCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_852"}],"x-openedi-element-id":"852"},"AddressInformation_02":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"166"},"CityName_03":{"maxLength":30,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"19"},"StateorProvinceCode_04":{"maxLength":2,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"156"},"PostalCode_05":{"maxLength":15,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"116"},"Date_06":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"}},"x-openedi-segment-id":"SMA"},"SMR":{"required":["Date_03","LocationQualifier_01"],"type":"object","properties":{"LocationQualifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_309"}],"x-openedi-element-id":"309"},"StandardPointLocationCode_02":{"maxLength":9,"minLength":6,"type":"string","format":"X12_AN","x-openedi-element-id":"154"},"Date_03":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"CityName_04":{"maxLength":30,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"19"},"StateorProvinceCode_05":{"maxLength":2,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"156"}},"x-openedi-syntax":["R0204","P0405"],"x-openedi-segment-id":"SMR"},"X12_ID_253":{"enum":["A","B","F","N","P","T"],"type":"string","format":"X12_ID_253"},"X12_ID_321":{"enum":["0","1","2","3","4","5"],"type":"string","format":"X12_ID_321"},"X12_ID_511":{"enum":["B","C","D","E","F","G","H","I","X"],"type":"string","format":"X12_ID_511"},"X12_ID_512":{"enum":["B","E","I"],"type":"string","format":"X12_ID_512"},"SMO":{"type":"object","properties":{"AutomobileRampFacilityCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_253"}],"x-openedi-element-id":"253"},"IntermodalFacilityCode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_321"}],"x-openedi-element-id":"321"},"YesNoConditionorResponseCode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_1073"}],"x-openedi-element-id":"1073"},"YesNoConditionorResponseCode_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_1073"}],"x-openedi-element-id":"1073"},"Weight_05":{"maxLength":10,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"81"},"RailCarPlateSizeCode_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_511"}],"x-openedi-element-id":"511"},"ImportExportCode_07":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_512"}],"x-openedi-element-id":"512"}},"x-openedi-segment-id":"SMO"},"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"},"TS431":{"required":["N4","SMB"],"type":"object","properties":{"ST":{"$ref":"#/components/schemas/ST"},"SMB":{"$ref":"#/components/schemas/SMB","description":"Beginning Segment for Railroad Station Master File"},"N4":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/N4"},"description":"Geographic Location"},"CD":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/CD"},"description":"Shipment Conditions"},"SMS":{"$ref":"#/components/schemas/SMS","description":"Station Codes Segment"},"SMA":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/SMA"},"description":"Station Address"},"SMR":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/SMR"},"description":"Cross Reference"},"SMO":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/SMO"},"description":"Operational Services"},"SE":{"$ref":"#/components/schemas/SE"}},"x-openedi-message-id":"431","x-openedi-message-standard":"X12"}}}}