Skip to content

Commit

Permalink
add more attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
captn3m0 committed Jul 16, 2024
1 parent e4acf9e commit 1fec3e1
Show file tree
Hide file tree
Showing 2 changed files with 262 additions and 6 deletions.
246 changes: 240 additions & 6 deletions out/underline.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions transform/underline.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,28 @@ local transformEvent(event) =
endDate: event.ends_at,
url: event.url,
sameAs: 'https://underline.center/t/' + event.post.id,
inLanguage: 'en',
eventStatus: 'EventScheduled',
location: {
'@type': 'Place',
name: 'Underline Center',
geo: {
'@type': 'GeoCoordinates',
latitude: 12.9672549,
longitude: 77.6367397,
},
maximumAttendeeCapacity: 45,
maximumPhysicalAttendeeCapacity: 45,
eventAttendanceMode: 'OfflineEventAttendanceMode',
address: {
'@type': 'PostalAddress',
streetAddress: '3rd Floor, above Blue Tokai 24, 3rd A Cross, 1st Main Rd',
addressLocality: 'Bangalore',
postalCode: '560071',
addressRegion: 'KA',
addressCountry: 'IN',
},
},
};

function(INPUT) [
Expand Down

0 comments on commit 1fec3e1

Please sign in to comment.