{"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_143":{"enum":["101","104","105","107","108","109","110","111","113","114","115","116","170","204","205","207","208","210","211","213","214","216","217","218","300","301","302","303","304","305","306","307","308","309","310","311","312","313","314","315","316","317","319","321","322","323","324","350","352","353","354","355","360","361","404","407","408","410","411","414","416","417","418","419","420","421","422","423","424","425","426","427","429","431","440","460","461","462","463","464","465","466","467","468","469","480","485","486","490","491","492","494","499","602","622","810","811","812","815","819","820","821","822","823","824","826","827","828","829","830","832","835","836","838","840","841","842","843","844","845","846","848","849","850","851","852","855","856","857","858","859","860","861","862","863","864","865","866","867","868","869","870","872","874","875","876","877","878","879","880","881","882","883","884","885","888","889","890","891","892","893","894","895","896","905","920","924","925","926","928","940","941","942","943","944","945","946","947","980","990","994","995","996","997","998","999"],"type":"string","format":"X12_ID_143"},"X12_ID_516":{"enum":["1","2","3","4"],"type":"string","format":"X12_ID_516"},"BT1":{"required":["NumberofTransactionSetsTotalled_02","Total_05","TotalQualifier_03","TransactionSetIdentifierCode_01"],"type":"object","properties":{"TransactionSetIdentifierCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_143"}],"x-openedi-element-id":"143"},"NumberofTransactionSetsTotalled_02":{"maxLength":7,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"515"},"TotalQualifier_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_516"}],"x-openedi-element-id":"516"},"DataElementTotalled_04":{"maxLength":5,"minLength":4,"type":"string","format":"X12_AN","x-openedi-element-id":"517"},"Total_05":{"maxLength":11,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"518"},"TotalQualifier_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_516"}],"x-openedi-element-id":"516"},"DataElementTotalled_07":{"maxLength":5,"minLength":4,"type":"string","format":"X12_AN","x-openedi-element-id":"517"},"Total_08":{"maxLength":11,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"518"},"TotalQualifier_09":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_516"}],"x-openedi-element-id":"516"},"DataElementTotalled_10":{"maxLength":5,"minLength":4,"type":"string","format":"X12_AN","x-openedi-element-id":"517"},"Total_11":{"maxLength":11,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"518"}},"x-openedi-syntax":["P0608","P0911"],"x-openedi-segment-id":"BT1"},"X12_ID_519":{"enum":["1","2","A","D","H","O"],"type":"string","format":"X12_ID_519"},"BT2":{"required":["TimePeriodCompleted_02","TimePeriodQualifier_01"],"type":"object","properties":{"TimePeriodQualifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_519"}],"x-openedi-element-id":"519"},"TimePeriodCompleted_02":{"maxLength":2,"minLength":2,"type":"string","format":"X12_N0","x-openedi-element-id":"520"},"TimePeriodQualifier_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_519"}],"x-openedi-element-id":"519"},"TimePeriodCompleted_04":{"maxLength":2,"minLength":2,"type":"string","format":"X12_N0","x-openedi-element-id":"520"}},"x-openedi-syntax":["P0304"],"x-openedi-segment-id":"BT2"},"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"},"TS980":{"required":["BT1"],"type":"object","properties":{"ST":{"$ref":"#/components/schemas/ST"},"BT1":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/BT1"},"description":"Batch Totals"},"BT2":{"$ref":"#/components/schemas/BT2","description":"End of Fiscal Time Period"},"SE":{"$ref":"#/components/schemas/SE"}},"x-openedi-message-id":"980","x-openedi-message-standard":"X12"}}}}