-
Broaden your reach with Siri Event Suggestions
Whether you're hosting event information in your app, on the web, or in an email, Siri Event Suggestions can help people keep track of their commitments — without compromising their privacy. We'll show you how to set up your reservations so that they automatically show up in the Calendar app and how to work with the Siri Event Suggestions APIs for iOS and Markup for web and email.
Ressources
- Register with Apple for Siri Event Suggestions Markup
- Integrating Your App with Siri Event Suggestions
Vidéos connexes
WWDC23
WWDC20
- Design for intelligence: Apps, evolved
- Design for intelligence: Discover new opportunities
- Design for intelligence: Make friends with "The System"
- Design for intelligence: Meet people where they are
- What's new in SiriKit and Shortcuts
WWDC19
-
Rechercher dans cette vidéo…
-
-
6:31 - JSON-LD
<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "FoodEstablishmentReservation", "reservationStatus": "http://schema.org/ReservationConfirmed", "reservationId": "IWDSCA", "partySize": "2", "reservationFor": { "@type": "FoodEstablishment", "name": "EPIC Steak", "startDate": "2020-06-26T19:30:00-07:00", "telephone": "(415)369-9955" "address": { "@type": "http://schema.org/PostalAddress", "streetAddress": "369 The Embarcadero", "addressLocality": "San Francisco" "addressRegion": "CA", "postalCode": "95105", "addressCountry": "USA" } } } </script> -
6:45 - Microdata
<div itemscope itemtype="FoodEstablishmentReservation"> <link itemprop="reservationStatus" href="http://schema.org/ReservationConfirmed"/> <meta itemprop="reservationId" content="IWDSCA"/> <meta itemprop="partySize" content="2"/> <div itemprop="reservationFor" itemscope itemtype="FoodEstablishment"> <meta itemprop="name" content="EPIC Steak"/> <meta itemprop="startDate" content="2020-06-26T19:30:00-07:00"/> <meta itemprop="telephone" content="(415)369-9955"/> <div itemprop="address" itemscope itemtype="PostalAddress"> <meta itemprop="streetAddress" content="369 The Embarcadero"/> <meta itemprop="addressLocality" content="San Francisco"/> <meta itemprop="addressRegion" content="CA"/> <meta itemprop="postalCode" content="95105"/> <meta itemprop="addressCountry" content="USA"/> </div> </div> </div> -
6:58 - Modified Reservation JSON-LD
<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "FoodEstablishmentReservation", "reservationStatus": "http://schema.org/ReservationConfirmed", "reservationId": "IWDSCA", "partySize": "2", "reservationFor": { "@type": "FoodEstablishment", "name": "EPIC Steak", "startDate": "2020-06-26T18:30:00-07:00", "telephone": "(415)369-9955" "address": { "@type": "http://schema.org/PostalAddress", "streetAddress": "369 The Embarcadero", "addressLocality": "San Francisco" "addressRegion": "CA", "postalCode": "95105", "addressCountry": "USA" } } } </script> -
7:21 - Cancelled Reservation JSON-LD
<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "FoodEstablishmentReservation", "reservationStatus": "http://schema.org/ReservationCancelled", "reservationId": "IWDSCA", "partySize": "2", "reservationFor": { "@type": "FoodEstablishment", "name": "EPIC Steak", "startDate": "2020-06-26T19:30:00-07:00", "telephone": "(415)369-9955" "address": { "@type": "http://schema.org/PostalAddress", "streetAddress": "369 The Embarcadero", "addressLocality": "San Francisco" "addressRegion": "CA", "postalCode": "95105", "addressCountry": "USA" } } } </script> -
8:13 - SuggestionsAllowAnyDomainForMarkup default
defaults write com.apple.suggestions SuggestionsAllowAnyDomainForMarkup -bool true -
8:25 - SuggestionsAllowUnverifiedSourceForMarkup default
defaults write com.apple.suggestions SuggestionsAllowUnverifiedSourceForMarkup -bool true -
8:49 - SuggestionsAllowAnyDomainForMarkup default
defaults write com.apple.suggestions SuggestionsAllowAnyDomainForMarkup -bool true -
9:03 - SuggestionsAllowUnverifiedSourceForMarkup default
defaults write com.apple.suggestions SuggestionsAllowUnverifiedSourceForMarkup -bool true -
10:32 - Reservation Confirmation JSON-LD
<script type='application/ld+json'> { "@context": "http://schema.org", "@type": "http://schema.org/FoodEstablishmentReservation", "reservationId": "IWDSCA", "reservationStatus": "http://schema.org/ReservationConfirmed", "url": "http://localhost:3000/reservations/6", "underName": { "@type": "http://schema.org/Person", "name": "John Appleseed" }, "broker": { "@type": "http://schema.org/Organization", "name": "Apple Reservations" }, "startTime": "2020-06-26T19:30:00-07:00", "partySize": "2", "reservationFor": { "@type": "http://schema.org/FoodEstablishment", "name": "EPIC Steak", "telephone": "(415)369-9955", "address": { "@type": "http://schema.org/PostalAddress", "streetAddress": "369 The Embarcadero", "addressLocality": "San Francisco" "addressRegion": "CA", "postalCode": "95105", "addressCountry": "USA" } } } </script> -
11:04 - Reservation Cancelled JSON-LD
<script type='application/ld+json'> { "@context": "http://schema.org", "@type": "http://schema.org/FoodEstablishmentReservation", "reservationId": "IWDSCA", "reservationStatus": "http://schema.org/ReservationCancelled", "url": "http://localhost:3000/reservations/6", "underName": { "@type": "http://schema.org/Person", "name": "John Appleseed" }, "broker": { "@type": "http://schema.org/Organization", "name": "Apple Reservations" }, "startTime": "2020-06-26T19:30:00-07:00", "partySize": "2", "reservationFor": { "@type": "http://schema.org/FoodEstablishment", "name": "EPIC Steak", "telephone": "(415)369-9955", "address": { "@type": "http://schema.org/PostalAddress", "streetAddress": "369 The Embarcadero", "addressLocality": "San Francisco" "addressRegion": "CA", "postalCode": "95105", "addressCountry": "USA" } } } </script> -
13:10 - Registration URL
developer.apple.com/contact/request/siri-events
-