w3c / activitystreams

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

String values for latitude and longitude in example 150 #471

Closed evanp closed 6 years ago

evanp commented 6 years ago

Example 150 looks like this:

{
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Place",
  "name": "San Francisco, CA",
  "longitude": "122.4167",
  "latitude": "37.7833"
}

The latitude and longitude can only be float values; here, they are represented with strings.

evanp commented 6 years ago

This is a duplicate of #446