{
  "$schema": "http://json-schema.org/draft-04/schema",
  "id": "user-plan-collection-page.json",
  "type": "object",
  "properties": {
    "items": {
      "readOnly": true,
      "type": "array",
      "items": {
        "$ref": "user-plan.json"
      }
    },
    "pageSize": {
      "readOnly": true,
      "type": "integer"
    },
    "itemsCount": {
      "readOnly": true,
      "type": "integer"
    },
    "currentPage": {
      "readOnly": true,
      "type": "integer"
    },
    "pagesCount": {
      "readOnly": true,
      "type": "integer"
    },
    "lastPage": {
      "readOnly": true,
      "type": "integer"
    },
    "_links": {
      "$ref": "link-collection.json"
    }
  },
  "required": [ "items" ]
}
