github.com/rothskeller/wppsvr@v1.8.9/analyze/testdata/model/mismatch.yaml (about)

     1  # Practice message that doesn't match model.
     2  
     3  # Define the model message:
     4  session:
     5    modelMessage: |
     6      Subject: Model
     7  
     8      !SCCoPIFO!
     9      #T: form-ics213.html
    10      #V: 3.2-2.2
    11      MsgNo: [RSC-100P]
    12      1a.: [01/09/2022]
    13      5.: [ROUTINE]
    14      1b.: [2000]
    15      7.: [A]
    16      8.: [B]
    17      9a.: [A]
    18      9b.: [B]
    19      10.: [Hello]
    20      12.: [Test Message]
    21      !/ADDON!
    22  
    23  # Message being analyzed:
    24  message: |
    25    From: kc6rsc@w1xsc.ampr.org
    26    To: pkttue@w4xsc.ampr.org
    27    Date: Sun, 09 Jan 2022 20:00:00 -0800
    28    Subject: RSC-100P_R_ICS213_Hello
    29  
    30    !SCCoPIFO!
    31    #T: form-ics213.html
    32    #V: 3.2-2.2
    33    MsgNo: [RSC-100P]
    34    1a.: [01/09/2022]
    35    5.: [ROUTINE]
    36    1b.: [2000]
    37    7.: [A]
    38    8.: [B]
    39    9a.: [C]
    40    9b.: [D]
    41    10.: [Hello]
    42    12.: [Test Message]
    43    OpCall: [KC6RSC]
    44    Method: [Other]
    45    OpName: [Steve Roth]
    46    Other: [Packet]
    47    OpDate: [01/09/2022]
    48    OpTime: [20:00]
    49    !/ADDON!
    50  
    51  # Analysis that should be stored:
    52  stored:
    53    deliveryTime: 2022-01-09T20:00:00-08:00
    54    fromAddress: kc6rsc@w1xsc.ampr.org
    55    fromCallSign: KC6RSC
    56    fromBBS: W1XSC
    57    jurisdiction: SNY
    58    messageType: ICS213
    59    score: 50
    60    summary: message not transcribed correctly
    61  analysisREs:
    62    - <span class=major>C</span>
    63    - <span class=major>D</span>
    64  
    65  # Messages that should be sent in response:
    66  responses:
    67    - localID: TUE-101P
    68      to: kc6rsc@w1xsc.ampr.org
    69      subject: 'DELIVERED: RSC-100P_R_ICS213_Hello'
    70      bodyREs:
    71        - ^!LMI!TUE-100P!DR!01/11/2022 20:00:01\n