{
  "info": {
    "title": "内勤人员编辑",
    "author": "Sophia",
    "description": "内勤人员编辑",
    "auth": true
  },
  "request": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "pattern": "^[A-Za-z0-9]{32}$",
        "description": "被修改账号的用户ID"
      },
      "mobile": {
        "type": "string",
        "pattern": "^(13[0-9]|14[57]|15[012356789]|17[678]|18[0-9])[0-9]{8}$",
        "description": "手机号（可不传）"
      },
      "password": {
        "type": "string",
        "pattern": "^[0-9a-zA-Z]{6,16}$",
        "description": "密码（可不传）"
      },
      "name": {
        "type": "string",
        "pattern": "^.{2,10}$",
        "description": "姓名（可不传）"
      },
      "jobNumber": {
        "type": "string",
        "pattern": "^.+$",
        "description": "工号（可不传"
      },
      "visibleOrganizationId": {
        "type": "string",
        "pattern": "^[A-Za-z0-9]{32}$",
        "description": "可视网点（可不传）"
      },
      "belongingOrganizationId": {
        "type": "string",
        "pattern": "^[A-Za-z0-9]{32}$",
        "description": "所属机构ID（可不传）"
      },
      "accountStatus": {
        "enum": [
          1,
          2
        ],
        "description": "用户状态（可以不传）"
      }
    },
    "additionalProperties": false,
    "required": [
      "id"
    ]
  },
  "response": {
    "status": {
      "enum": [
        [
          0,
          1
        ]
      ],
      "description": "返回状态代码"
    },
    "message": {
      "type": "string",
      "description": "返回状态描述"
    }
  },
  "constant": {
    "ResponseStatus": {
      "SUCCESS": 0,
      "PHONE_EXISTED": 1
    }
  }
}