toJsonLd method
Serialize SchemaPerformingArtsTheater to JSON-LD
Implementation
@override
Map<String, dynamic> toJsonLd() => removeEmpty({
'@context': 'https://schema.org',
'@type': 'PerformingArtsTheater',
'openingHours': convertToJsonLd(openingHours, [String]),
'additionalProperty':
convertToJsonLd(additionalProperty, [SchemaPropertyValue]),
'address': convertToJsonLd(address, [SchemaPostalAddress, String]),
'aggregateRating':
convertToJsonLd(aggregateRating, [SchemaAggregateRating]),
'amenityFeature': convertToJsonLd(
amenityFeature, [SchemaLocationFeatureSpecification]),
'branchCode': convertToJsonLd(branchCode, [String]),
'containedIn': convertToJsonLd(containedIn, [SchemaPlace]),
'containedInPlace': convertToJsonLd(containedInPlace, [SchemaPlace]),
'containsPlace': convertToJsonLd(containsPlace, [SchemaPlace]),
'event': convertToJsonLd(event, [SchemaEvent]),
'events': convertToJsonLd(events, [SchemaEvent]),
'faxNumber': convertToJsonLd(faxNumber, [String]),
'geo': convertToJsonLd(geo, [SchemaGeoCoordinates, SchemaGeoShape]),
'geoContains': convertToJsonLd(
geoContains, [SchemaGeospatialGeometry, SchemaPlace]),
'geoCoveredBy': convertToJsonLd(
geoCoveredBy, [SchemaGeospatialGeometry, SchemaPlace]),
'geoCovers':
convertToJsonLd(geoCovers, [SchemaGeospatialGeometry, SchemaPlace]),
'geoCrosses': convertToJsonLd(
geoCrosses, [SchemaGeospatialGeometry, SchemaPlace]),
'geoDisjoint': convertToJsonLd(
geoDisjoint, [SchemaGeospatialGeometry, SchemaPlace]),
'geoEquals':
convertToJsonLd(geoEquals, [SchemaGeospatialGeometry, SchemaPlace]),
'geoIntersects': convertToJsonLd(
geoIntersects, [SchemaGeospatialGeometry, SchemaPlace]),
'geoOverlaps': convertToJsonLd(
geoOverlaps, [SchemaGeospatialGeometry, SchemaPlace]),
'geoTouches': convertToJsonLd(
geoTouches, [SchemaGeospatialGeometry, SchemaPlace]),
'geoWithin':
convertToJsonLd(geoWithin, [SchemaGeospatialGeometry, SchemaPlace]),
'globalLocationNumber': convertToJsonLd(globalLocationNumber, [String]),
'hasCertification':
convertToJsonLd(hasCertification, [SchemaCertification]),
'hasDriveThroughService':
convertToJsonLd(hasDriveThroughService, [bool]),
'hasMap': convertToJsonLd(hasMap, [SchemaMap, String]),
'isAccessibleForFree': convertToJsonLd(isAccessibleForFree, [bool]),
'isicV4': convertToJsonLd(isicV4, [String]),
'keywords':
convertToJsonLd(keywords, [SchemaDefinedTerm, String, String]),
'latitude': convertToJsonLd(latitude, [String, int]),
'logo': convertToJsonLd(logo, [SchemaImageObject, String]),
'longitude': convertToJsonLd(longitude, [String, int]),
'map': convertToJsonLd(map, [String]),
'maps': convertToJsonLd(maps, [String]),
'maximumAttendeeCapacity':
convertToJsonLd(maximumAttendeeCapacity, [int]),
'openingHoursSpecification': convertToJsonLd(
openingHoursSpecification, [SchemaOpeningHoursSpecification]),
'photo': convertToJsonLd(photo, [SchemaImageObject, SchemaPhotograph]),
'photos':
convertToJsonLd(photos, [SchemaImageObject, SchemaPhotograph]),
'publicAccess': convertToJsonLd(publicAccess, [bool]),
'review': convertToJsonLd(review, [SchemaReview]),
'reviews': convertToJsonLd(reviews, [SchemaReview]),
'slogan': convertToJsonLd(slogan, [String]),
'smokingAllowed': convertToJsonLd(smokingAllowed, [bool]),
'specialOpeningHoursSpecification': convertToJsonLd(
specialOpeningHoursSpecification,
[SchemaOpeningHoursSpecification]),
'telephone': convertToJsonLd(telephone, [String]),
'tourBookingPage': convertToJsonLd(tourBookingPage, [String]),
'additionalType': convertToJsonLd(additionalType, [String, String]),
'alternateName': convertToJsonLd(alternateName, [String]),
'description': convertToJsonLd(description, [String, SchemaTextObject]),
'disambiguatingDescription':
convertToJsonLd(disambiguatingDescription, [String]),
'identifier':
convertToJsonLd(identifier, [SchemaPropertyValue, String, String]),
'image': convertToJsonLd(image, [SchemaImageObject, String]),
'mainEntityOfPage':
convertToJsonLd(mainEntityOfPage, [SchemaCreativeWork, String]),
'name': convertToJsonLd(name, [String]),
'potentialAction': convertToJsonLd(potentialAction, [SchemaAction]),
'sameAs': convertToJsonLd(sameAs, [String]),
'subjectOf':
convertToJsonLd(subjectOf, [SchemaCreativeWork, SchemaEvent]),
'url': convertToJsonLd(url, [String]),
});