{
	"anyOf": [
		{
			"$ref": "roles#/definitions/admin"
		},
		{
			"type": "object",
			"required": ["permission_streams", "roles"],
			"properties": {
				"permission_streams": {
					"$ref": "perms#/definitions/view"
				},
				"roles": {
					"type": "array",
					"items": {
						"type": "string",
						"enum": ["user"]
					}
				}
			}
		}
	]
}
