SchemaEvent class
An event happening at a certain time and location, such as a concert, lecture, or festival Ticketing information may be added via the [offers] property Repeated events may be structured as separate Event objects. See https://schema.org/Event
Constructors
- SchemaEvent.new({SchemaThing? about, SchemaPerson? actor, SchemaAggregateRating? aggregateRating, dynamic attendee, dynamic attendees, SchemaAudience? audience, dynamic composer, dynamic contributor, SchemaPerson? director, String? doorTime, SchemaDuration? duration, String? endDate, SchemaEventAttendanceModeEnumeration? eventAttendanceMode, SchemaSchedule? eventSchedule, SchemaEventStatusType? eventStatus, dynamic funder, SchemaGrant? funding, dynamic inLanguage, bool? isAccessibleForFree, dynamic keywords, dynamic location, int? maximumAttendeeCapacity, int? maximumPhysicalAttendeeCapacity, int? maximumVirtualAttendeeCapacity, dynamic offers, dynamic organizer, dynamic performer, dynamic performers, String? previousStartDate, SchemaCreativeWork? recordedIn, int? remainingAttendeeCapacity, SchemaReview? review, dynamic sponsor, String? startDate, SchemaEvent? subEvent, SchemaEvent? subEvents, SchemaEvent? superEvent, dynamic translator, String? typicalAgeRange, SchemaCreativeWork? workFeatured, SchemaCreativeWork? workPerformed, String? additionalType, String? alternateName, dynamic description, String? disambiguatingDescription, dynamic identifier, dynamic image, dynamic mainEntityOfPage, String? name, SchemaAction? potentialAction, String? sameAs, dynamic subjectOf, String? url})
- Create a new instance of SchemaEvent
Properties
- about ↔ SchemaThing?
-
The subject matter of the content.
getter/setter pair
- actor ↔ SchemaPerson?
-
An actor, e.g in TV, radio, movie, video games etc., or in an
event Actors can be associated with individual items or with a
series, episode, clip.
getter/setter pair
- additionalType ↔ String?
-
//schema.org/docs/styleguide.html">style guide. Supported
types: String, String
getter/setter pair
- aggregateRating ↔ SchemaAggregateRating?
-
The overall rating, based on a collection of reviews or ratings,
of the item.
getter/setter pair
- alternateName ↔ String?
-
An alias for the item.
getter/setter pair
- attendee ↔ dynamic
-
A person or organization attending the event. Supported types:
Organization
,Person
getter/setter pair - attendees ↔ dynamic
-
A person attending the event. Supported types:
Organization
,Person
getter/setter pair - audience ↔ SchemaAudience?
-
An intended audience, i.e a group for whom something was
created.
getter/setter pair
- composer ↔ dynamic
-
The person or organization who wrote a composition, or who is
the composer of a work performed at some event. Supported
types:
Organization
,Person
getter/setter pair - contributor ↔ dynamic
-
A secondary contributor to the CreativeWork or Event. Supported
types:
Organization
,Person
getter/setter pair - description ↔ dynamic
-
A description of the item. Supported types: String,
TextObject
getter/setter pair - director ↔ SchemaPerson?
-
A director of e.g TV, radio, movie, video gaming etc content, or
of an event Directors can be associated with individual items or
with a series, episode, clip.
getter/setter pair
- disambiguatingDescription ↔ String?
-
A sub property of description A short description of the item
used to disambiguate from other, similar items Information from
other properties (in particular, name) may be necessary for the
description to be useful for disambiguation.
getter/setter pair
- doorTime ↔ String?
-
The time admission will commence. Supported types: String,
String
getter/setter pair
- duration ↔ SchemaDuration?
-
//en.wikipedia.org/wiki/ISO_8601).
getter/setter pair
- endDate ↔ String?
-
//en.wikipedia.org/wiki/ISO_8601)). Supported types: String,
String
getter/setter pair
- eventAttendanceMode ↔ SchemaEventAttendanceModeEnumeration?
-
The eventAttendanceMode of an event indicates whether it occurs
online, offline, or a mix.
getter/setter pair
- eventSchedule ↔ SchemaSchedule?
-
Associates an [Event] with a [
Schedule
] There are circumstances where it is preferable to share a schedule for a series of repeating events rather than data on the individual events themselves For example, a website or application might prefer to publish a schedule for a weekly gym class rather than provide data on every event A schedule could be processed by applications to add forthcoming events to a calendar An [Event] that is associated with a [Schedule
] using this property should not have [startDate] or [endDate] properties These are instead defined within the associated [Schedule
], this avoids any ambiguity for clients using the data The property might have repeated values to specify different schedules, e.g for different months or seasons.getter/setter pair - eventStatus ↔ SchemaEventStatusType?
-
An eventStatus of an event represents its status; particularly
useful when an event is cancelled or rescheduled.
getter/setter pair
- funder ↔ dynamic
-
A person or organization that supports (sponsors) something
through some kind of financial contribution. Supported types:
Organization
,Person
getter/setter pair - funding ↔ SchemaGrant?
-
A [
Grant
] that directly or indirectly provide funding or sponsorship for this item See also [ownershipFundingInfo
].getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- identifier ↔ dynamic
-
The identifier property represents any kind of identifier for
any kind of [
Thing
], such as ISBNs, GTIN codes, UUIDs etc Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links See background notes for more details Supported types:PropertyValue
, String, Stringgetter/setter pair - image ↔ dynamic
-
An image of the item This can be a [
URL
] or a fully described [ImageObject
]. Supported types:ImageObject
, Stringgetter/setter pair - inLanguage ↔ dynamic
-
//tools.ietf.org/html/bcp47) See also [
availableLanguage
]. Supported types:Language
, Stringgetter/setter pair - isAccessibleForFree ↔ bool?
-
A flag to signal that the item, event, or place is accessible
for free.
getter/setter pair
- keywords ↔ dynamic
-
Keywords or tags used to describe some item Multiple textual
entries in a keywords list are typically delimited by commas, or
by repeating the property. Supported types:
DefinedTerm
, String, Stringgetter/setter pair - location ↔ dynamic
-
The location of, for example, where an event is happening, where
an organization is located, or where an action takes place.
Supported types:
Place
,PostalAddress
, String,VirtualLocation
getter/setter pair - mainEntityOfPage ↔ dynamic
-
Indicates a page (or other CreativeWork) for which this thing is
the main entity being described See background
notes for details.
Supported types:
CreativeWork
, Stringgetter/setter pair - maximumAttendeeCapacity ↔ int?
-
The total number of individuals that may attend an event or
venue.
getter/setter pair
- maximumPhysicalAttendeeCapacity ↔ int?
-
The maximum physical attendee capacity of an [Event] whose
[eventAttendanceMode] is [
OfflineEventAttendanceMode
] (or the offline aspects, in the case of a [MixedEventAttendanceMode
]).getter/setter pair - maximumVirtualAttendeeCapacity ↔ int?
-
The maximum virtual attendee capacity of an [Event] whose
[eventAttendanceMode] is [
OnlineEventAttendanceMode
] (or the online aspects, in the case of a [MixedEventAttendanceMode
]).getter/setter pair - name ↔ String?
-
The name of the item.
getter/setter pair
- offers ↔ dynamic
-
An offer to provide this item—for example, an offer to
sell a product, rent the DVD of a movie, perform a service, or
give away tickets to an event Use [
businessFunction
] to indicate the kind of transaction offered, i.e sell, lease, etc This property can also be used to describe a [Demand
] While this property is listed as expected on a number of common types, it can be used in others In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer Supported types:Demand
,Offer
getter/setter pair - organizer ↔ dynamic
-
An organizer of an Event. Supported types:
Organization
,Person
getter/setter pair - performer ↔ dynamic
-
A performer at the event—for example, a presenter,
musician, musical group or actor. Supported types:
Organization
,Person
getter/setter pair - performers ↔ dynamic
-
The main performer or performers of the event—for
example, a presenter, musician, or actor. Supported types:
Organization
,Person
getter/setter pair - potentialAction ↔ SchemaAction?
-
Indicates a potential Action, which describes an idealized
action in which this thing would play an 'object' role.
getter/setter pair
- previousStartDate ↔ String?
-
Used in conjunction with eventStatus for rescheduled or
cancelled events This property contains the previously scheduled
start date For rescheduled events, the startDate property should
be used for the newly scheduled start date In the (rare) case of
an event that has been postponed and rescheduled multiple times,
this field may be repeated.
getter/setter pair
- recordedIn ↔ SchemaCreativeWork?
-
The CreativeWork that captured all or part of this Event.
getter/setter pair
- remainingAttendeeCapacity ↔ int?
-
The number of attendee places for an event that remain
unallocated.
getter/setter pair
- review ↔ SchemaReview?
-
A review of the item.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sameAs ↔ String?
-
URL of a reference Web page that unambiguously indicates the
item's identity E.g the URL of the item's Wikipedia page,
Wikidata entry, or official website.
getter/setter pair
- sponsor ↔ dynamic
-
A person or organization that supports a thing through a pledge,
promise, or financial contribution E.g a sponsor of a Medical
Study or a corporate sponsor of an event. Supported types:
Organization
,Person
getter/setter pair - startDate ↔ String?
-
//en.wikipedia.org/wiki/ISO_8601)). Supported types: String,
String
getter/setter pair
- subEvent ↔ SchemaEvent?
-
An Event that is part of this event For example, a conference
event includes many presentations, each of which is a subEvent
of the conference.
getter/setter pair
- subEvents ↔ SchemaEvent?
-
Events that are a part of this event For example, a conference
event includes many presentations, each subEvents of the
conference.
getter/setter pair
- subjectOf ↔ dynamic
-
A CreativeWork or Event about this Thing. Supported types:
CreativeWork
, Eventgetter/setter pair - superEvent ↔ SchemaEvent?
-
An event that this event is a part of For example, a collection
of individual music performances might each have a music
festival as their superEvent.
getter/setter pair
- translator ↔ dynamic
-
Organization or person who adapts a creative work to different
languages, regional differences and technical requirements of a
target market, or that translates during some event. Supported
types:
Organization
,Person
getter/setter pair - typicalAgeRange ↔ String?
-
The typical expected age range, e.g '7-9', '11-'.
getter/setter pair
- url ↔ String?
-
URL of the item.
getter/setter pair
- workFeatured ↔ SchemaCreativeWork?
-
A work featured in some event, e.g exhibited in an
ExhibitionEvent Specific subproperties are available for
workPerformed (e.g a play), or a workPresented (a Movie at a
ScreeningEvent).
getter/setter pair
- workPerformed ↔ SchemaCreativeWork?
-
A work performed in some event, for example a play performed in
a TheaterEvent.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJsonLd(
) → Map< String, dynamic> - Serialize SchemaEvent to JSON-LD
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited