{
"actor": { "objectType": "device", "id": "http://thermometer.example/4512", "displayName": "Thermometer #4512" },
"verb": "measure",
"object": { "objectType": "place", "id": "http://gazetteer.example/montreal", "displayName": "Montreal" },
"result": {"objectType": "temperature", "value": 19", "units": "C" }
{
"actor": { "objectType": "place", "id": "http://gazetteer.example/montreal", "displayName": "Montreal" },
"verb": "has-temperature",
"object": {"objectType": "temperature", "value": 19", "units": "C" }
There are a few interesting cases for taking a measurement.
- A human being weighing himself or herself.
- A process measuring the load on a server.
- A thermometer measures the current ambient temperature.
I'm thinking that the structure could be something like:{"actor": { "objectType": "device", "id": "http://thermometer.example/4512", "displayName": "Thermometer #4512" },"verb": "measure","object": { "objectType": "place", "id": "http://gazetteer.example/montreal", "displayName": "Montreal" },"result": {"objectType": "temperature", "value": 19", "units": "C" }}
I could also see doing this without a measuring actor:
{"actor": { "objectType": "place", "id": "http://gazetteer.example/montreal", "displayName": "Montreal" },"verb": "has-temperature","object": {"objectType": "temperature", "value": 19", "units": "C" }}
I think the first format is more precise but sometimes you may just want to know how hot it is in Montreal without specifying exactly who told you that.Any opinions? I'm working on a weigh-in app and a weather app for pump.io, so I thought it'd be interesting to speak here.
-Evan--
You received this message because you are subscribed to the Google Groups "Activity Streams" group.
To unsubscribe from this group and stop receiving emails from it, send an email to activity-strea...@googlegroups.com.
To post to this group, send email to activity...@googlegroups.com.
Visit this group at http://groups.google.com/group/activity-streams?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Walter
-Evan