Pregunta de entrevista de Apple

Design an API for purchasing tickets.