syntax = "proto3";

package linkedca;

option go_package = "go.step.sm/linkedca";

import "google/protobuf/timestamp.proto";

message Admin {
    enum Type {
        UNKNOWN = 0;
        ADMIN = 1;
        SUPER_ADMIN = 2;
    }
    string id = 1;
    string authority_id = 2;
    string subject = 3;
    string provisioner_id = 4;
    Type type = 5;
    google.protobuf.Timestamp created_at = 6;
    google.protobuf.Timestamp deleted_at = 7;
}

message AdminList {
    repeated Admin admins = 1;
}
