AP locations fixtures

This commit is contained in:
lesion 2025-01-10 18:33:49 +01:00
parent ce6c452b91
commit 0899e71684
No known key found for this signature in database
GPG key ID: 352918250B012177
7 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1,4 @@
{
"id" : "http://localhost:13120/federation/p/1",
"type" : "Place"
}

View file

@ -0,0 +1,30 @@
[
{
"id" : "http://localhost:13120/federation/p/4",
"name" : "Location with a name",
"type" : "Place"
},
{
"id" : "http://localhost:13120/federation/p/5",
"name" : "A second location with a name",
"type" : "Place"
},
{
"id" : "https://virtual.location.org",
"name" : "A Virtual location",
"address": {
"type": "VirtualLocation",
"url": "https://virtual.location.org"
},
"type" : "Place"
},
{
"id" : "https://a.second.fallback.virtual.location.org",
"name" : "A Fallback Virtual location",
"address": {
"type": "VirtualLocation",
"url": "https://a.second.fallback.virtual.location.org"
},
"type" : "Place"
}
]

View file

@ -0,0 +1,5 @@
{
"id" : "http://localhost:13120/federation/p/1",
"name" : "Location with a name",
"type" : "Place"
}

View file

@ -0,0 +1,13 @@
{
"id" : "http://localhost:13120/federation/p/2",
"name" : "Location with a postal address",
"address": {
"type": "PostalAddress",
"addressCountry": "Austria",
"addressLocality": "Fediverse Town",
"addressRegion": "Steiermark",
"postalCode": "8010",
"streetAddress": "15 Fediverse Street"
},
"type" : "Place"
}

View file

@ -0,0 +1,6 @@
{
"id" : "http://localhost:13120/federation/p/3",
"name" : "Location with a simple string address",
"address": "Simple string address",
"type" : "Place"
}

View file

@ -0,0 +1,4 @@
{
"name" : "Location without id",
"type" : "Place"
}

View file

@ -0,0 +1,9 @@
{
"id" : "https://virtual.location.org",
"name" : "A Virtual location",
"address": {
"type": "VirtualLocation",
"url": "https://virtual.location.org"
},
"type" : "Place"
}