{
  "$schema": "http://json-schema.org/draft-04/schema",
  "id": "token-info.json",
  "type": "object",
  "properties": {
    "accountId": {
      "readOnly": true,
      "type": "integer"
    },
    "username": {
      "readOnly": true,
      "type": "string"
    },
    "access_token": {
      "readOnly": true,
      "type": "string"
    },
    "issued_at": {
      "readOnly": true,
      "type": "string"
    },
    "expiration_date": {
      "readOnly": true,
      "type": "string"
    },
    "expires_in": {
      "readOnly": true,
      "type": [ "integer", "null" ]
    },
    "accounts": {
      "readOnly": true,
      "type": "array"
    },
    "token_type": {
      "readOnly": true,
      "type": "string",
      "enum": [
        "bearer"
      ]
    },
    "token_format": {
      "readOnly": true,
      "type": "string",
      "enum": [
        "jwt"
      ]
    }
  }
}
