@0x9895a7c4a0b2bd61;


struct Schema {
    zerodbs @0: List(Text); # list of zerodbs endpoints used as backend for minio ex: ['192.168.122.87:9600']
    namespace @1: Text; # namespace to use on the 0-db
    nsSecret @2: Text; # secret to use to have access to the namespace on the 0-db servers
    login @3: Text; # minio login. End user needs to know this login to have access to minio
    password @4: Text; #minio password. End user needs to know this login to have access to minio
    privateKey @5: Text; # encryption private key
    metaPrivateKey @6: Text; # metadata encryption private key
    dataShard @7: UInt32=1;
    parityShard @8: UInt32=0;
    tlog @9: Tlog;
    blockSize @10 :UInt32=1048576;
    master @11 :Tlog;
    nodePort @12 :Int32; # public port on the node that is forwared to the minio inside the container. This field is fille by the template
    logoURL @13 :Text; # if specified, download the logo pointed by this url and use it in the web frontend of minio

    struct Tlog {
        namespace @0 :Text; # name of the tlog namespace
        address @1 :Text; # ip:port of the tlog namespace
    }
}