w3c / activitystreams

Activity Streams 2.0
https://www.w3.org/TR/activitystreams-core/
Other
284 stars 60 forks source link

Inconsistencies between property domains and type properties #436

Closed cjslep closed 1 year ago

cjslep commented 6 years ago

Please Indicate One:

Please Describe the Issue:

(I am splitting my email to the public-socialweb mailing list into separate issues, for background please see those emails).

This is ActivityStream vocabulary specific: https://www.w3.org/TR/activitystreams-vocabulary

The specification is inconsistent with itself:

sebilasse commented 6 years ago

underlying problem for the first one is probably

so maybe the domain for "altitude" should be "Place"

gobengo commented 6 years ago

so maybe the domain for "altitude" should be "Place"

that would make it more consistent. But I think a better consistency would be to have latitude, longitude, and altitude all have domain: Object. Esp considering that the range of location includes Object. Non-Place location values currently can't specify lat/long? IMO that's weird. Also this would be backward-incompatible I believe, whereas restricting altitude Domain would not be.

I disagree that this is a "Blocking Issue", but it is good feedback for an AS2.0.1

evanp commented 1 year ago

Based on this issue, I've updated the ERRATA document to include the information about altitude and attributedTo.

https://github.com/w3c/activitystreams/blob/master/ERRATA.md

Because id and type are addressed in the Core document, I don't believe the lists of properties require them in Vocabulary.