From 81a23aae216ce7097176f523c52e200e9db77586 Mon Sep 17 00:00:00 2001 From: Viktor Richter Date: Wed, 25 Nov 2015 12:36:19 +0100 Subject: [PATCH] Add a ClassificationResultMap holding ClassificationResults for a set of different aspects. --- .../classification/ClassificationResultMap.proto | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 proto/sandbox/rst/classification/ClassificationResultMap.proto diff --git a/proto/sandbox/rst/classification/ClassificationResultMap.proto b/proto/sandbox/rst/classification/ClassificationResultMap.proto new file mode 100644 index 0000000..5e41d62 --- /dev/null +++ b/proto/sandbox/rst/classification/ClassificationResultMap.proto @@ -0,0 +1,35 @@ +package rst.classification; + +import "rst/classification/ClassificationResult.proto"; + +option java_outer_classname = "ClassificationResultMapType"; + +/** + * A map of classifications. + * + * @author Viktor Richter + */ +message ClassificationResultMap { + + /** + * An Entry describes a classification of a discrete + * aspect of world. + */ + message Entry { + + /** + * The name of the classified aspect. + */ + required string name = 1; + + /** + * The classification of the aspect. + */ + required ClassificationResult result = 2; + } + + /** + * The current set of classified aspects with their results. + */ + repeated Entry aspects = 1; +} -- 1.9.1