-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_envelope.json
More file actions
93 lines (93 loc) · 2.72 KB
/
example_envelope.json
File metadata and controls
93 lines (93 loc) · 2.72 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"@context": {
"jh": "https://jhcontext.com/vocab#",
"prov": "http://www.w3.org/ns/prov#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"@vocab": "https://jhcontext.com/vocab#"
},
"@type": "jh:Envelope",
"context_id": "ctx-73c322d0-bc03-4860-8f72-97adbb89fa4a",
"schema_version": "jh:0.5",
"producer": "did:example:agent-1",
"created_at": "2026-02-01T00:21:49Z",
"ttl": "PT30M",
"status": "active",
"performative": "offer",
"replaces": null,
"semantic_payload": [
{
"@model": "UserML",
"mainpart": {
"subject": "user:alice",
"auxiliary": "hasProperty",
"predicate": "temperature",
"range": "float-degrees-celsius",
"object": 22.3
},
"explanation": {"source": "sensor:thermostat-01"},
"administration": {"group": "Observation"}
},
{
"@model": "UserML",
"mainpart": {
"subject": "user:alice",
"auxiliary": "hasProperty",
"predicate": "location",
"range": "LocationEnum",
"object": "ConferenceRoomA"
},
"explanation": {"source": "sensor:rfid-03"},
"administration": {"group": "Observation"}
},
{
"@model": "UserML",
"mainpart": {
"subject": "user:alice",
"auxiliary": "hasAssessment",
"predicate": "thermalComfort",
"range": "uncomfortable-neutral-comfortable",
"object": "comfortable"
},
"explanation": {
"confidence": 0.92,
"creator": "did:example:comfort-agent",
"method": "thermal_model_v1"
},
"administration": {"group": "Interpretation"}
},
{
"@model": "UserML",
"mainpart": {
"subject": "user:alice",
"auxiliary": "isInSituation",
"predicate": "activity",
"range": "meeting|commute|idle|focus",
"object": "meeting"
},
"situation": {"start": "2026-02-01T00:21:49Z", "durability": "few minutes"},
"explanation": {"confidence": 0.95},
"administration": {"group": "Situation"}
},
{
"@model": "UserML",
"mainpart": {
"subject": "notification:n-42",
"auxiliary": "hasPolicy",
"predicate": "shouldBeDelivered",
"range": "boolean",
"object": false
},
"administration": {"group": "Application"}
}
],
"provenance_ref": {
"prov_graph_id": "prov:prov-ctx-73c322d0-bc03-4860-8f72-97adbb89fa4a",
"prov_digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
},
"proof": {
"canonicalization": "URDNA2015",
"hash": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
"signature": "PLACEHOLDER_SIGNATURE",
"signer": "did:example:agent-1"
}
}