{
  "type":"object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "id": "http://jsonschema.net",
  "properties": {
    "user": {
      "type" : "objectid",
      "ref": "user"
    },
    "token": {
      "type": "string",
      "required": true,
      "protect": true
    },
    "issueDate": {
      "type": "date"
    },
    "ipAddress": {
      "type": "string",
      "required": false,
      "default": ""
    }
  }
}
