github.com/rothskeller/wppsvr@v1.8.9/analyze/testdata/form/oldform.yaml (about)

     1  # Form with old form version.
     2  
     3  # Allow ICS213 forms for session:
     4  session:
     5    messageTypes:
     6      - ICS213
     7  
     8  # Message being analyzed:
     9  message: |
    10    From: kc6rsc@w1xsc.ampr.org
    11    To: pkttue@w4xsc.ampr.org
    12    Date: Sun, 09 Jan 2022 20:00:00 -0800
    13    Subject: RSC-100P_R_ICS213_Hello
    14  
    15    !SCCoPIFO!
    16    #T: form-ics213.html
    17    #V: 3.2-2.0
    18    MsgNo: [RSC-100P]
    19    1a.: [01/09/2022]
    20    4.: [OTHER]
    21    5.: [ROUTINE]
    22    1b.: [2000]
    23    7.: [A]
    24    8.: [B]
    25    9a.: [A]
    26    9b.: [B]
    27    10.: [Hello]
    28    12.: [Test Message]
    29    OpCall: [KC6RSC]
    30    Method: [Other]
    31    OpName: [Steve Roth]
    32    Other: [Packet]
    33    OpDate: [01/09/2022]
    34    OpTime: [20:00]
    35    !/ADDON!
    36  
    37  # Analysis that should be stored:
    38  stored:
    39    deliveryTime: 2022-01-09T20:00:00-08:00
    40    fromAddress: kc6rsc@w1xsc.ampr.org
    41    fromCallSign: KC6RSC
    42    fromBBS: W1XSC
    43    jurisdiction: SNY
    44    messageType: ICS213
    45    score: 50
    46    summary: form version out of date
    47  analysisREs:
    48    - contains version 2\.0
    49    - use version 2\.\d+ or newer
    50  
    51  # Messages that should be sent in response:
    52  responses:
    53    - localID: TUE-101P
    54      to: kc6rsc@w1xsc.ampr.org
    55      subject: 'DELIVERED: RSC-100P_R_ICS213_Hello'
    56      bodyREs:
    57        - ^!LMI!TUE-100P!DR!01/11/2022 20:00:01\n