# GENERATED FILE — do not edit by hand. # # Source: functions/src/functions/graphQL.ts (the `typeDefs` template) # Regenerate: npm run schema:dump # Verify: npm run schema:check # # This is the schema as HEAD defines it, which is not necessarily the schema a # given tenant is serving — the fleet is 14 independently deployed projects. # Category ids differ per tenant and are shown as a placeholder. type Event { """ Total number of currently active tickets in case the event has bookings available """ activeTickets: Int """Possible values: no-restriction, minimum-age or maximum-age""" ageRestriction: String! """Number of available tickets for an event""" availableTickets: Int """ID of the user who created the event""" author_id: ID! """Number of days before the event starts for cancelling a ticket""" cancellationPeriod: Int """Categories of the event""" categories: [String]! """ Creation date of the event instance in ISO format. Example: 2020-10-21 23:00:00+00 """ created_at: String """Description of the event in English. It may be null or empty""" desc_en: String """Description of the event in Norwegian. It may be null or empty""" desc_nb: String """Duration of the event in minutes""" duration: Int """Permissions to edit the event. Possible values: only-me or a Team ID""" editableBy: String """ Video URL from Youtube or Vimeo to be embedded in the event details page """ embeddedVideoURL: String """ End date and time of the event instance, in Norwegian local time with the UTC offset that applies ON THAT DATE: +02:00 during summer time, +01:00 during winter time. Format: YYYY-MM-DD HH:mm:ss+HH:mm — note the SPACE separator, this is not RFC 3339, so a strict ISO parser will reject it. Render it in Europe/Oslo; formatting it in the server's own zone shifts the clock and the shift changes at each daylight-saving switch. Example: 2026-11-01 10:00:00+01:00 """ endDate: String! """Indicates if the event is cancelled or not""" eventCancelled: Boolean """Indicates if the event is sold out or not""" eventSoldOut: Boolean """Event slug. It is used to build the event link""" event_slug: String! """Link of the event""" eventLink: String! """DEPRECATED: Use isFeaturedSpecialEvent instead. Always returns false.""" eventVMFest: Boolean """Facebook event URL""" facebookURL: String """Unique id of the event""" id: ID! """Images of the event""" images: [Image] """ True when the event was imported from an external feed. Lets aggregators skip re-ingesting feed-imported events (feedback-loop guard) without exposing internal feed ids. Human-created events synced from another HSK calendar are NOT flagged. """ isImported: Boolean """Indicates if the event was set as featured by the creator""" isFeaturedEvent: Boolean """Indicates if the event is featured in any special event""" isFeaturedSpecialEvent: Boolean """ DEPRECATED: Use isFeaturedSpecialEvent instead. Maps to isFeaturedSpecialEvent for backward compatibility. """ isFeaturedVMFestEvent: Boolean """Maximum age (in years) for the event entrance""" maximumAge: Int """Minimum age (in years) for the event entrance""" minimumAge: Int """Maximum date for ordering tickets (nullable)""" maxBookingDate: String """Maximum time for ordering tickets (HH:mm format)""" maxBookingTime: String """Indicates the event mode. Possible values: offline or online""" mode: String """Event URL for more information""" moreInfoURL: String """Organizer(s) of the event""" organizers: [Organizer]! """Payment method accepted for the tickets of an event: door or invoice""" paymentMethod: String """ Publishing date of the event instance in ISO format. Example: 2020-10-21 23:00:00+00 """ publishingDate: String """Prices for the event in case it is not gratis""" prices: [Price] """Wether if the users can register within this website or not""" registrationEnabled: Boolean """Repetitions of an event""" repetitions: [Repetition] """ Start date and time of the event instance, in Norwegian local time with the UTC offset that applies ON THAT DATE: +02:00 during summer time, +01:00 during winter time. Format: YYYY-MM-DD HH:mm:ss+HH:mm — note the SPACE separator, this is not RFC 3339, so a strict ISO parser will reject it. Render it in Europe/Oslo; formatting it in the server's own zone shifts the clock and the shift changes at each daylight-saving switch. For the wall-clock time alone, use startTime. Example: 2026-11-01 10:00:00+01:00 """ startDate: String! """Start time of the event instance. Example: 14:00""" startTime: String """URL for the streaming of an online event""" streamingURL: String """ ID of the super (container) event if it exists (a festival, a market, etc.) """ super_event: String """Tags or key words related to the event (comma separated values)""" tags: String """Date for which the tickets are open to the public""" ticketsFromDate: String """Time for which the tickets are open to the public""" ticketsFromTime: String """ Information about the tickets of the event. Possible values: 'free', 'noTicketsInfo' or 'ticketsInfo' """ ticketsInformation: String """URL for buying tickets of the event""" ticketsURL: String """Title of the event in English. It may be null or empty""" title_en: String """Title of the event in Norwegian""" title_nb: String! """Metadata about which fields were auto-translated""" translationMeta: TranslationMeta """Type of the event. Possible values: orphan, has-super or super-event""" type: String """ Last update datetime of the event instance in ISO format. Example: 2020-10-21 23:00:00+00 """ updated_at: String """Venue of the event. It may be null if the event is online""" venue: Venue """Relevant information concerning the venue of the event""" venueNote: String """URL for videos of the event.""" videosURL: String """Views of the event.""" views: Int } type Category { id: ID name_en: String name_nb: String slug_en: String slug_nb: String visible: Boolean subcategories: [Category] } type Image { alt: String caption: String credits: String urlLarge: String urlSmall: String urlOriginal: String originalSize: Int largeSize: Int smallSize: Int } type TranslationMeta { """Indicates if the Norwegian title was auto-translated""" title_nb: Boolean """Indicates if the English title was auto-translated""" title_en: Boolean """Indicates if the Norwegian description was auto-translated""" desc_nb: Boolean """Indicates if the English description was auto-translated""" desc_en: Boolean } type Organizer { id: ID email: String name: String slug: String telephoneNumber: String website: String } type Price { type: String price: Int name_nb: String name_en: String } type Venue { address: String id: ID location: Location mapImageURL: String """ DEPRECATED: Municipality information. Returns empty string for backward compatibility. """ municipality: String name: String slug: String } type Location { latitude: Float longitude: Float } type Repetition { id: ID activeTickets: Int availableTickets: Int """ Start date and time of this occurrence. Same format and timezone rules as Event.startDate. """ startDate: String """ End date and time of this occurrence. Same format and timezone rules as Event.startDate. """ endDate: String """ Wall-clock start time of this occurrence in Norwegian local time, unaffected by daylight saving. Example: 14:00 """ startTime: String """Duration of this occurrence in minutes""" duration: Int eventCancelled: Boolean eventSoldOut: Boolean mode: String ticketsURL: String streamingURL: String """Venue of the event. It may be null if the event is online""" venue: Venue """Prices for this specific repetition. If null, use the event's prices""" prices: [Price] } input Filter { """ Events with any of the given categories. Empty array is equivalent to all the categories. Possible values: """ categories: [String] """ Events taking place during such date and later. Defaults to current datetime. Format: YYYY-MM-DD HH:mm:ss+ZZ (2020-09-16 23:00:00+00) """ fromDate: String """ Events taking place until such date and an earlier. Defaults to empty. Format: YYYY-MM-DD HH:mm:ss+ZZ (2020-09-16 23:00:00+00) """ untilDate: String """ Events starting on that date and time or later. Defaults to empty. Format: YYYY-MM-DD HH:mm:ss+ZZ (2020-09-16 23:00:00+00) """ fromStartDate: String """Events with the given mode: online or offline""" mode: String """Events for the given organizers slugs""" organizers: [String] """Events for the given organizer slug""" organizerSlug: String """ Sorting of the result. Possible values: 'date' or 'popularity'. Default: 'popularity' - DEPRECATED: only chronological order is supported """ sortBy: String @deprecated(reason: "Only chronological order is supported") """Events for the given search term.""" searchTerm: String """ID of the super (container) event (a festival, a market, etc.)""" superEvent: String """Events taken place in the given venues slugs""" venues: [String] """Events taken place in the given venueSlug""" venueSlug: String """Set to true if you only want the featured events. Default: false""" onlyFeatured: Boolean """ Set to true if you only want featured events from a special event. Default: false """ onlyFeaturedSpecialEvent: Boolean """ Events with none of the given categories. Possible values: """ notCategories: [String] """Keyword associated with an event""" tag: String """Set to true if you do not want the cancelled events. Default: false""" cancelledNotIncluded: Boolean """Set to true if you do not want the sold out events. Default: false""" soldOutNotIncluded: Boolean """ Hours range for the events to be filtered. Default to empty. Format: HH:mm-HH:mm (16:00-22:00) """ hoursRange: String """ If true, it will return the repetitions taking place different days as single events """ groupRepetitionsByDay: Boolean """Filter events by municipality/kommune""" municipality: String """Filter events by postal codes (zip codes) - array of strings""" postalCodes: [String] """ DEPRECATED: Use onlyFeaturedSpecialEvent instead. Set to true if you only want featured VM Fest events """ onlyFeaturedVMFest: Boolean """ DEPRECATED: Use superEvent filter instead. Set to true if you only want VM Fest events """ onlyVMFest: Boolean } type PageInfo { currentPage: Int pageSize: Int totalPages: Int } type VenuesInfo { venue: Venue hits: Int } type OrganizersInfo { organizer: Organizer hits: Int } type CategoriesInfo { category: String hits: Int } type EventConnection { totalCount: Int hasMore: Boolean data: [Event] pageInfo: PageInfo venues: [VenuesInfo] organizers: [OrganizersInfo] categories: [CategoriesInfo] } type Query { """ Get all the events that match the criteria on the filter. Page (default 0) and pageSize (default 10) are optional for pagination. """ events(filter: Filter, page: Int, pageSize: Int): EventConnection """Get an event by the event ID""" eventByID(eventID: String!): Event """Get events by their event slugs""" eventsBySlugs(eventsSlugs: [String]!): [Event] """ Get an event by the event slug (unique identifier that appears on the URL) """ eventBySlug(eventSlug: String!): Event """Get an event by title. 'lan' values are 'nb' or 'en'""" eventByTitle(title: String!, lan: String!): Event """Get all the upcomming (or happening) super events""" allUpcomingSuperEvents: [Event] """Get all the upcoming events taking place in one square area.""" allUpcomingEventsInArea(minLatitude: Float!, maxLatitude: Float!, minLongitude: Float!, maxLongitude: Float!): [Event] """Get all the categories""" categories: [Category] """Get all the venues""" venues: [Venue] """Get all the organizers""" organizers: [Organizer] }