Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Theatre Play #1816
I am a little unclear by what you mean by a whole "piece of art".
I think you are describing a theatrical event that consists of either a Play consisting of more than one part (such as Harry Potter and the Cursed Child Parts One & Two ) or; a series/season of plays that are connected in some way such as by an author or theme (such as The Oscar Wilde season ).
If that is the case, you can already model that using the subEvent & superEvent properties. You would create a TheaterEvent for the collective description of the Play [for a series you would also define it as being an EventSeries] eg "Harry Potter and the Cursed Child".
You would create a TheaterEvent for each part ("Harry Potter and the Cursed Child Part One", "Harry Potter and the Cursed Child Part Two" ).
Then you can use the subEvent & superEvent properties to declare the relationship between them.
I mean I have website of theater. There is a list of plays.
On this website each play has it's calendar, where I certainly can use TheaterEvent which has its particular date. Am I wrong?
OK I understand now...
So following the current patterns within Schema.org...
The Website would be effectively the definition of the Organization (Theatre Company) that would be putting on various TheaterEvents (performances) each event would have properties for startDate, location, etc., plus the workPerformed would be the CreativeWork (Play) created by the playwright (author).
This all makes sense until you look for the expected subtype of CreativeWork - Play, as there is not one. Checking back, there is an outstanding pull request (#1449) that seeks to add 4 new subtypes to CreativeWork (Manuscript, Poster, Drawing, SheetMusic). Based on this thread, I am considering extending that PR to include Play.
I'm at the same place of @gregmatys, at my website we sell play tickets, we are using the Event Schema to set all events of this play, but even when a play does not have a event, i need a schema only for the play, i saw CreativeWork as a solution, with this i can use AggregateRating at CreativeWork and Event with this i can display the rating of the play and event.