syntax = "proto3";

package laborato.common.policy;

import "google/protobuf/empty.proto";
import "google/protobuf/timestamp.proto";

message PolicySelection {
    string value = 1; // legacy single value
    repeated PolicyElementSelection elements = 2;
    repeated string list_keys = 3;
}

message PolicyElementSelection {
    string id_name = 1;
    string value = 2;
    repeated PolicyElementItemSelection childs = 3;
}

message PolicyElementItemSelection {
    string id_name = 1;
    string value = 2;
    repeated PolicyElementItemSelection childs = 3;
}