{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "error": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "customerId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "validity": {
          "type": "string"
        },
        "imageUrl": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "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": [
    "code",
    "error",
    "data"
  ]
}
