-
Notifications
You must be signed in to change notification settings - Fork 5
/
registry.proto
38 lines (32 loc) · 2.14 KB
/
registry.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
syntax = "proto3";
package io.dartinc.registry.v1beta1;
option java_multiple_files = true;
import "tech/figure/util/v1beta1/document.proto";
import "tech/figure/util/v1beta1/types.proto";
import "validate/validate.proto";
/**
Digital Asset Registry Technology (DART) ENote metadata
*/
message ENote {
Controller controller = 1 [(validate.rules).message.required = true]; // Identity of the ENote controller
tech.figure.util.v1beta1.DocumentMetadata e_note = 2 [(validate.rules).message.required = true]; // Metadata of the authoritative copy of the ENote
tech.figure.util.v1beta1.Date signed_date = 3 [(validate.rules).message.required = true]; // Date the ENote was signed by the borrower
string vault_name = 4 [(validate.rules).string.min_len = 1]; // Name of the eVault storing the Authoritative copy of the ENote
repeated tech.figure.util.v1beta1.DocumentMetadata modification = 10; // Documents containing modifications to the ENote
repeated tech.figure.util.v1beta1.DocumentMetadata assumption = 20; // Documents containing additional assumptions about the ENote
repeated tech.figure.util.v1beta1.DocumentMetadata borrower_signature_image = 30; // Documents containing image signatures of all signers of the ENote
}
/**
ENote controller
*/
message Controller {
tech.figure.util.v1beta1.UUID controller_uuid = 1 [(validate.rules).message.required = true]; // ENote controller ID
string controller_name = 2 [(validate.rules).string.min_len = 1]; // ENote controller name
}
/**
Metadata concerning how a collection of documents should be recorded on chain
*/
message DocumentRecordingGuidance {
reserved 1, 2; // Available for future use
map <string, bool> designated_documents = 3; // Markers for data
}