Comments (7)
If I understand this suggestion correctly, there's no functional difference between the way Link Values currently work. You're mostly suggesting a change in how it is described in text. Is that correct?
from activitystreams.
Yes, other than this would permit tightening up the definition of e.g. the "object" property such that lists would be prohibited
from activitystreams.
There's no reason why the "object" property cannot be a list... there can be more than one direct object for an activity, e.g. "James read two books, 'Green Eggs and Ham' and 'The Cat in the Hat'".
{
"actor": "acct:[email protected]",
"verb": "read",
"object": [
{
"objectType": "book",
"displayName": "Green Eggs and Ham"
},
{
"objectType": "book",
"displayName": "The Cat in the Hat"
}
]
}
from activitystreams.
I do agree, however, that there are at least some properties (e.g. "generator", "provider") that could be limited to single objects rather than permitting lists. But I'd wager that there are few such properties.
from activitystreams.
I would argue there that what you have done is read two books, which is two separate activities. While in theory the ability to associate two objects with an activity sounds nice, I just think it complicates implementations unnecessarily.
from activitystreams.
That depends entirely on the needs of the application ;-) ... I'm working with "rollup" use cases in which the ability to specify multiple actors and multiple objects is seen as a significant advantage. The ability to capture statements like "James read two books" or "James and 3 other people followed Arnaud and Tantek" using a single Activity statement can be quite powerful.
from activitystreams.
I believe this is addressed in the current vocab proposal.
from activitystreams.
Related Issues (20)
- Validator link is down HOT 7
- Why no Request in addition to Offer ? HOT 11
- example 79 is invalid because is uses 'width', 'height' property on Image (they are only defined as in Domain of Link) HOT 9
- How to indicate a post is locked? HOT 5
- Example 2.1.2 "Context with an object" is both wrong and misleading HOT 3
- List of Property Definitions in "ActivityStreams 2.0 Terms" contains otherwise undocumented properties HOT 4
- How to use and license files of this repo HOT 2
- Simple Misspelling in Announce Description HOT 1
- Please clarify the RDF/OWL namespace URI HOT 3
- No semantic difference between Read Activity and View Activity HOT 2
- Public is missing from https://www.w3.org/ns/activitystreams HTML page HOT 2
- Is there a minor mistake in the Remove example? HOT 3
- Force non-functional properties to always be arrays HOT 14
- endpoints should be defined as either `@container: @id` or `@container: @nest` HOT 2
- orderedAttachment (and orderedTag?) HOT 11
- `as:Replace` proposal: something replaced something else HOT 12
- history HOT 6
- Document policy for adding extension terms into the normative context HOT 4
- Document and include historical terms in AS2 context HOT 2
- as:closed is wrongly defined in the normative context as only being xsd:datetime HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from activitystreams.