-
Notifications
You must be signed in to change notification settings - Fork 40
feat(tickets): added child and student ticket types #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
lornajane
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More examples are always valuable, thank you! I added some comments for minor alterations.
| get: | ||
| summary: List special events | ||
| description: Return a list of upcoming special events at the museum. | ||
| description: Return a list of past special events at the museum. See one you like? Use this API to [buy a ticket](/#tag/Tickets/operation/buyMuseumTickets). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should still be upcoming special events rather than past ones - we may need to add a date filter and/or some further-in-the-future events!
And the URL should be a full URL, so that the description markdown is useful in any context.
| schemas: | ||
| TicketType: | ||
| description: Type of ticket being purchased. Use `general` for regular museum entry and `event` for tickets to special events. | ||
| description: Type of ticket being purchased. Use `general` for regular museum entry and `event` for tickets to special events. Use `student` for school-aged children. Visitors aged 0-5 are free. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For clarity, could we rephrase this to put the general, student and child tickets in one sentence, and the special event ones in another? I think it's age-related general entry, or an event ticket.
| enum: | ||
| - event | ||
| - general | ||
| - student | ||
| - child |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if a child or student goes to an event?
What/Why/How?
It seemed like it would be a good idea to add museum ticket types for students (reduced price) and children aged 0-5 (free) so that there are a variety of ticket prices.
(Created as part of the Write The Docs writing conference Writing Day)
Check yourself
Security