```message CheckPermissionRequest { Consistenc...
# spicedb
g
Copy code
message CheckPermissionRequest {
    Consistency consistency = 1;
    // resource is the resource on which to check the permission or relation.
    ObjectReference resource = 2;
    // permission is the name of the permission (or relation) on which to execute
    // the check.
    string permission = 3;
    // subject is the subject that will be checked for the permission or relation.
    SubjectReference subject = 4;
    // additional relationships supplied by the client at query time.
    repeated Relationship dynamic_relationships = 5;
}