import CommonCheck from './check.js';

export default function () {
  return {
    ...CommonCheck.apply(this),
    //发报行
    "cpdgrp.snd.pts.extkey": [
      { type: "string", required: false, message: "必输项" },
      { max: 16, message: "长度不能超过16" }
    ],
    "cpdgrp.pyb.pts.adrblk": [
      { type: "string", required: false, message: "必输项" }
    ],
    "cpdgrp.ori.pts.adrblk": [
      { type: "string", required: false, message: "必输项" }
    ],
    "cpdgrp.rec.manbod": [{
      required: true,
      message: "必输项"
    }],
    "attp.acctyp": [{
      required: true,
      message: "必输项"
    }],
    "attp.bustyp": [{
      required: true,
      message: "必输项"
    }],
  }
}