Schema: urlTemplate
Schema: urlTemplate Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: urlTemplate.
Book JSON-LD example for Jane Xoo's 1948 pediatric textbook, the expanded version of her 1945 paper. Covers ISBN, numberOfPages, bookEdition, bookFormat, workExample for editions, inLanguage, the Offers pattern for book pricing, and publisher as Organization with @id cross-references to the Person and Article examples.
Movie JSON-LD example for a documentary about Jane Xoo's pediatric work. Covers director, actor, duration in ISO 8601, contentRating, releasedEvent for premiere details, aggregateRating, review with nested Rating, and the WatchAction pattern for streaming links that Google uses to build the movie knowledge panel.
WebSite JSON-LD example with SearchAction for the sitelinks search box. Covers the potentialAction pattern with query-input, the difference between WebSite and WebPage, publisher cross-referencing, and how Google uses WebSite markup to display a search box directly in the SERP for branded queries.
MusicRecording JSON-LD example for a film score track from The Children's Doctor documentary. Covers byArtist, recordingOf with MusicComposition and ISWC code, ISRC code, inAlbum cross-reference, duration in ISO 8601, and ListenAction for streaming links.
SearchAction JSON-LD example for a site search box. Shows how to embed SearchAction inside WebSite markup to trigger Google's sitelinks search box. Covers the query-input parameter syntax, target URL patterns, and common implementation errors.
BuyAction JSON-LD example for purchasing a XooTee. BuyAction adds one property (seller) on top of TradeAction's price properties. Used in potentialAction on Product to indicate a purchase option.
OrderAction JSON-LD example for ordering a product for delivery. OrderAction adds one property (deliveryMethod) on top of TradeAction's price properties.
WatchAction JSON-LD example for watching a documentary. WatchAction adds no properties of its own; used as potentialAction on VideoObject or Movie to provide a direct watch link.
SubscribeAction JSON-LD example for a newsletter signup. SubscribeAction adds no properties of its own; used as potentialAction to express a subscription option on a website or content entity.
Action JSON-LD example for the parent type behind all schema.org activity verbs. Covers the 7 Action properties (agent, object, participant, startTime, endTime, location, result), the Action state values (PotentialActionStatus, ActiveActionStatus, CompletedActionStatus, FailedActionStatus), and how Action subtypes attach to entities as potentialAction or subjectOf.
ConsumeAction JSON-LD example for reading an article. ConsumeAction is the parent of ViewAction, WatchAction, ReadAction, ListenAction, PlayAction, UseAction, EatAction, DrinkAction, and InstallAction.
FindAction JSON-LD example for tracking a shipment. FindAction is the parent of CheckAction, DiscoverAction, and TrackAction for actions that locate or monitor something.
TransferAction JSON-LD example for downloading a file. TransferAction is the parent of BorrowAction, DownloadAction, GiveAction, LendAction, MoneyTransfer, ReceiveAction, ReturnAction, SendAction, and TakeAction for actions that move something between parties.
Embassy JSON-LD example for a diplomatic mission (embassies and consulates general). Direct GovernmentBuilding subtype. No unique properties; appointment-booking and jurisdiction are the key inherited patterns.
TaxiService JSON-LD example for a taxi or ride-hire service. Direct Service subtype. Covers areaServed, hoursAvailable, provider (Organization), providerMobility, offers. The canonical type (supersedes the old Taxi type).
EntryPoint JSON-LD example for an Action's invocation target (URL template, HTTP method, platform, content type). Intangible with 7 direct properties.
ActionAccessSpecification JSON-LD example for geographic / subscription / date constraints on an Action. Intangible with 7 direct properties.
PropertyValueSpecification JSON-LD example for constraining an Action input: required / readonly / min / max / step / pattern / default. Used with the -input hint on Action properties to describe expected parameter shape.
Thing JSON-LD example for the root of the entire schema.org vocabulary. Every type descends from Thing. Use it directly only when no subtype fits; its 13 properties (name, url, image, identifier, sameAs, potentialAction, etc.) are the universal entity signals every page should publish.
RsvpAction JSON-LD example for an event RSVP in Gmail markup. Carries rsvpResponse (Yes/No/Maybe), additionalNumberOfGuests, and comment — the canonical form for Gmail confirm-your-attendance action cards.
SearchAction JSON-LD reference — Action subtype with query. Known primarily as WebSite.potentialAction for sitelinks searchbox; the property-level reference page.