Skip to content

Commit

Permalink
feat: Improve documentation for containsPlace (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickevansuk authored Mar 1, 2023
1 parent 39f3cf6 commit 8aea4d7
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions versions/2.x/models/Place.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,32 @@
"fieldName": "containsPlace",
"sameAs": "https://schema.org/containsPlace",
"model": "ArrayOf#Place",
"example": {
"@type": "Place",
"url": "https://www.everyoneactive.com/centres/Center-Parcs-Sports-Plaza",
"name": "Center Parcs Sports Plaza"
},
"example": [
{
"@type": "SportsActivityLocation",
"@id": "https://api.example.com/places/1402CBP20150217/sports-activity-locations/3",
"url": "https://www.better.org.uk/leisure-centre/manchester/belle-vue-sports-village/facilities",
"name": "Studio",
"description": "We have a great range of Fitness Classes at Belle Vue Leisure Centre including Group Cycle, Zumba, Pilates and much much more.",
"image": [
{
"@type": "ImageObject",
"url": "https://res-1.cloudinary.com/gll/image/upload/c_fit,f_auto,h_169,w_384/v1592158966/production/0065/7/66/PHOTO-2020-06-09-14-25-53_3.jpg"
}
],
"specialOpeningHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"opens": "00:00",
"closes": "00:00",
"validFrom": "2022-01-01",
"validThrough": "2022-12-31"
}
]
}
],
"description": [
"Places that exist within this place"
"A specific identifiable facility (`SportsActivityLocation`) or place (`Place`) that exist within this place"
]
},
"description": {
Expand Down

0 comments on commit 8aea4d7

Please sign in to comment.