Skip to content

Instantly share code, notes, and snippets.

@aakilfernandes
Created February 4, 2017 00:41
Show Gist options
  • Save aakilfernandes/659e04b61c8e2f9677cad60b5354c423 to your computer and use it in GitHub Desktop.
Save aakilfernandes/659e04b61c8e2f9677cad60b5354c423 to your computer and use it in GitHub Desktop.
package safemarket;
syntax = "proto3";
message Store {
required string name = 1;
required string base = 2;
required string info = 3;
repeated StoreProduct products = 4;
repeated StoreTransport transports = 5;
}
message StoreProduct {
required string name = 1;
required string info = 2;
repeated bytes imageMultihashes = 3;
}
message StoreTransport {
required string name = 1;
required string to = 2;
required string info = 3;
repeated bytes imageMultihashes = 4;
}
message Arbitrator {
required string name = 1;
required string info = 2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment