-
Notifications
You must be signed in to change notification settings - Fork 16
/
relationship-distance.json
29 lines (29 loc) · 1.56 KB
/
relationship-distance.json
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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"relationship-distance": {
"title": "RelationshipDistance",
"type": "object",
"description": "Captures a distance score and associated metadata between the source and target in a MAEC Relationship.",
"properties": {
"distance_score": {
"type": "number",
"description": "Captures the distance score between the source and target in the relationship. This is most commonly represented as a floating point value between zero and one (with a higher value representing a greater distance between the two), e.g., \"0.62\"."
},
"algorithm_name": {
"type": "string",
"description": "Captures the name of the algorithm used in calculating the distance score specified in the distance_score property."
},
"algorithm_version": {
"type": "string",
"description": "Captures the version of the algorithm used in calculating the distance score specified in the distance_score property."
},
"metadata": {
"type": "object",
"description": "Specifies a dictionary of additional metadata around the distance score, as a set of key/value pairs. Dictionary keys and their corresponding values MUST be of type string."
}
},
"required": ["distance_score"]
}
}
}