{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "error": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer"
        },
        "page": {
          "type": "integer"
        },
        "pageSize": {
          "type": "integer"
        },
        "pageTotal": {
          "type": "integer"
        },
        "list": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer"
              },
              "customerId": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "validity": {
                "type": "string"
              },
              "imageUrl": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "status": {
                "type": "integer"
              },
              "statusStr": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              },
              "createdAt": {
                "type": "string"
              },
              "updatedAt": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "customerId",
              "name",
              "validity",
              "imageUrl",
              "description",
              "status",
              "statusStr",
              "reason",
              "createdAt",
              "updatedAt"
            ]
          }
        }
      },
      "required": [
        "total",
        "page",
        "pageSize",
        "pageTotal",
        "list"
      ]
    }
  },
  "required": [
    "code",
    "error",
    "data"
  ]
}
