Module Assessment| Hitchhikers Platform
You’ve learned more about how Turtlehead Tacos wants to feature information about the Restaurants, Events, and Community Stories.
As a reminder, in general, they want to:
- List their Restaurants
- Build pages for their Restaurants, FAQs, Events and Community Stories
- Feature Restaurants, Events, FAQs, and Community Stories in Answers
For the Community Stories
They want users to be able to search based on related events.
There are Non-Profits involved with each and they believe it’s important for their customers to know about these. They do not want dedicated pages for the non-profits, but if they decide to build pages for the Community Stories, they want the non-profit name to be visible in a bulleted list and they want to make sure they can filter on the field in Answers. This means this can be a field on Community Story type, but does not need to be an entity type.
They want to be able to publish the URL of the pages to a field, so you’ll want to add the Landing Pages URL field.
For the Restaurants
The restaurants host a number of events – these may need their own pages and may even go to Listings so you’ll want to make sure these are their own entities, but linked to the Restaurants.
Additionally, They have 2 different kinds of Restaurants – some are semi-permanent Food Trucks style eateries while others are dine-in Restaurants. While they’ve been approved to send both to Google Maps via Listings so they should all be of type “Restaurant”, they want their local pages to look a bit different so they need to keep track of which is which.
They also have a big initiative around Delivery this year so they want to make sure they feature Delivery hours on their site – with a disclaimer, of course – in case the delivery experience is negative.
Finally, they want to highlight certain features at each restaurant, like outdoor seating, live music, or accepting reservations.
As their Admin, it’s your job to make sure they have the right data model so that their account is a success. Let’s get started!
Based on this new information, you’re ready to finish up the fields for the Community Story.
Navigate to Knowledge Graph > Configuration > Entity Types and click in to “Edit Fields” for Community Story type. Add all new fields to “Core Information” for now.
Add a new Promoting Events field to the Community Story type that only allows a user to select from Events in the Knowledge Graph. Add to the “Core Information” section for now.
- Type: Entity Relationship
- Relationship Type: One Way
- Name: Promoting Events
- Validation: Check off Events so users can only select Events
Add a new Local Non-Profits field to the Community Story type to list the non-profits involved. Add to the “Core Information” section for now.
- Type: Text List
- Name: Local Non-Profits
Add the built-in Landing Page URL field to the Community Story type. Add to the “Core Information” section for now.
Save the Community Story type and return to Knowledge Graph > Configuration > Entity Types.
Now it’s time to update the schema for the Restaurant entity type. Click “Edit Fields” for the Restaurant type. Add all new fields to the “Business Details” section for now.
Add the Promoting Events field you created above to the Restaurant type as well. Add to the “Business Details” section for now.
Add a new Restaurant Type field to the Restaurant type. Add to the “Business Details” section for now.
- Type: Single-Option Select
- Name: Restaurant Type
- Available Options: Food Truck, Dine-in Restaurant
Add a new Delivery Disclaimer field to the Restaurant type that you can feature on Answers and Pages. Add to the “Business Details” section for now.
- Type: Multi-line Text
- Name: Delivery Disclaimer
- Validation: maximum character count of 200 characters
Finally, add a new Restaurant Features field to the Restaurant type to highlight all of the special features at each Turtlehead Tacos location. Add to the “Business Details” section for now.
- Type: Multi-option select
- Name: Restaurant Features
- Available Options: Outdoor Seating, Live Music, Accepting Reservations, Dog Friendly, Breakfast for Dinner, Sells Merchandise
Make sure that you name the fields and options exactly as provided