{"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","25","26","27","28","30","31","32","33","34","35","36","37","38","41","42","43","44","45","46","47","48","49","50","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"},"SMB":{"required":["Date_02","StationTypeCode_03","TransactionSetPurposeCode_01"],"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"}},"x-openedi-segment-id":"SMB"},"X12_ID_309":{"enum":["AC","AP","AR","BE","BL","BS","CA","CC","CD","CI","CL","CO","CS","CY","D","DC","DE","FA","FE","FF","FI","FR","FT","FV","IA","IM","IP","IT","K","MI","MS","NS","OA","OL","OR","OV","PA","PE","PL","PP","PQ","PR","PS","PT","PU","RA","RE","RG","RJ","RL","RS","RT","SB","SC","SD","SL","SN","SP","SS","SW","TC","TL","TN","TR","TX","UN","UR","VS","W","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":9,"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":25,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"310"}},"x-openedi-syntax":["R0105","P0506"],"x-openedi-segment-id":"N4"},"SMS":{"required":["Date_03","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":9,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"116"}},"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":9,"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","C"],"type":"string","format":"X12_ID_321"},"X12_ID_1073":{"enum":["N","U","Y"],"type":"string","format":"X12_ID_1073"},"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"},"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":{"$ref":"#/components/schemas/SMO","description":"Operational Services"},"SE":{"$ref":"#/components/schemas/SE"}},"x-openedi-message-id":"431","x-openedi-message-standard":"X12"}}}}