Move from Schema.org Place to AS Place with Schema.org properties
See https://socialhub.activitypub.rocks/t/how-to-represent-places-in-an-event/413 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -41,17 +41,11 @@ defmodule Mobilizon.Service.ActivityPub.Utils do
|
||||
"@id" => "sc:location",
|
||||
"@type" => "sc:Place"
|
||||
},
|
||||
"Place" => "sc:Place",
|
||||
"PostalAddress" => "sc:PostalAddress",
|
||||
"GeoCoordinates" => "sc:GeoCoordinates",
|
||||
"address" => %{
|
||||
"@id" => "sc:address",
|
||||
"@type" => "sc:PostalAddress"
|
||||
},
|
||||
"geo" => %{
|
||||
"@id" => "sc:geo",
|
||||
"@type" => "sc:GeoCoordinates"
|
||||
},
|
||||
"addressCountry" => "sc:addressCountry",
|
||||
"addressRegion" => "sc:addressRegion",
|
||||
"postalCode" => "sc:postalCode",
|
||||
|
||||
Reference in New Issue
Block a user