github.com/rothskeller/wppsvr@v1.8.9/analyze/testdata/form/invalidform.yaml (about) 1 # Form with invalid contents. Note that the subject line is wrong as well, but 2 # that should not be reported for an invalid form. 3 4 # Allow ICS213 forms for session: 5 session: 6 messageTypes: 7 - ICS213 8 9 # Message being analyzed: 10 message: | 11 From: kc6rsc@w1xsc.ampr.org 12 To: pkttue@w4xsc.ampr.org 13 Date: Sun, 09 Jan 2022 20:00:00 -0800 14 Subject: RSC-100P_R_ICS213_Hello 15 16 !SCCoPIFO! 17 #T: form-ics213.html 18 #V: 3.2-2.1 19 MsgNo: [RSC-100P] 20 1a.: [01/09/2022] 21 4.: [TRIVIAL] 22 5.: [ROUTINE] 23 1b.: [2000] 24 7.: [A] 25 8.: [B] 26 9a.: [A] 27 9b.: [] 28 10.: [Hello] 29 12.: [Test Message] 30 OpCall: [KC6RSC] 31 Method: [Other] 32 OpName: [Steve Roth] 33 Other: [Packet] 34 OpDate: [01/09/2022] 35 OpTime: [20:00] 36 !/ADDON! 37 38 # Analysis that should be stored: 39 stored: 40 deliveryTime: 2022-01-09T20:00:00-08:00 41 fromAddress: kc6rsc@w1xsc.ampr.org 42 fromCallSign: KC6RSC 43 fromBBS: W1XSC 44 messageType: ICS213 45 jurisdiction: SNY 46 score: 50 47 summary: invalid form contents 48 analysisREs: 49 - form with invalid contents 50 - one of its allowed values 51 - From Location.*required 52 53 # Messages that should be sent in response: 54 responses: 55 - localID: TUE-101P 56 to: kc6rsc@w1xsc.ampr.org 57 subject: 'DELIVERED: RSC-100P_R_ICS213_Hello' 58 bodyREs: 59 - ^!LMI!TUE-100P!DR!01/11/2022 20:00:01\n