Sha256: 3df3fa4d4a35973e1511abd47b945f2ea51c990e7b99b52078fbb9fcfbf0515b

Contents?: true

Size: 906 Bytes

Versions: 2

Compression:

Stored size: 906 Bytes

Contents

syntax = "proto3";

package Yoti.Protobuf.attrpubapi_v3;

option java_package = "com.yoti.attrpubapi_v3";
option java_outer_classname = "AttrProto";


// ContentType indicates how to interpret the ‘Value’ field of an Attribute.
enum ContentType {
	// UNDEFINED should not be seen, and is used as an error placeholder
	// value.
	UNDEFINED = 0;

	// STRING means the value is UTF-8 encoded text.
	STRING = 1;

	// JPEG indicates a standard .jpeg image.
	JPEG = 2;

	// Date as string in RFC3339 format (YYYY-MM-DD).
	DATE = 3;

	// PNG indicates a standard .png image.
	PNG = 4;
}


message Attribute {
	string name = 1;

	bytes value = 2;

	ContentType content_type = 3;

	repeated Anchor anchors = 4;
}


message Anchor {
	bytes artifact_link = 1;

	repeated bytes origin_server_certs = 2;

	bytes artifact_signature = 3;

	string sub_type = 4;

	bytes signature = 5;

	bytes signed_time_stamp = 6;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yoti-1.3.1 lib/yoti/protobuf/definitions/attrpubapi/attribute.proto
yoti-1.3.0 lib/yoti/protobuf/definitions/attrpubapi/attribute.proto