Skip to content
AnswerWell geo Documentation

Research · 6 min read · Answerwell

EntryPoint Type, Action Targets, and URL Templates

How Schema.org EntryPoint describes where and how to run a potentialAction, including urlTemplate, HTTP method, and app metadata.

This page summarises Schema.org documentation on the EntryPoint type and how it attaches to Action objects through target. Publishers use it when a plain URL is not enough to describe how to call an API, which app should handle a deep link, or what request and response formats apply.

An EntryPoint is an entry point within some web-based protocol—not a generic “app entry point” label used elsewhere in software docs.

An entry point, within some Web-based protocol.

— Schema.org, EntryPoint

In the type hierarchy it sits under Thing → Intangible → EntryPoint. Usage is widespread in published markup (Schema.org cites index-scale adoption on the type page).

EntryPoint values appear on target, which belongs to Action (and subtypes such as WatchAction or ViewAction). That is how potential actions become concrete: execution is directed at the action’s target EntryPoint (or, for simple cases, a URL string).

Potential actions are materialized via execution against the target EntryPoint of an Action.

— Schema.org, Actions — Part 3: Action EntryPoints

Action target: URL only versus full EntryPoint

Section titled “Action target: URL only versus full EntryPoint”

For many platforms, a single URL (or URL template) is sufficient—a “deep link” without extra HTTP metadata.

Example from the actions documentation—a movie with a watch action whose target is only a URL:

{
"@context": "https://schema.org",
"@type": "Movie",
"name": "Footloose",
"potentialAction": {
"@type": "WatchAction",
"target": "http://example.com/player?id=123"
}
}

The same pattern is documented in Actions — Part 3: Action EntryPoints.

Schema.org introduced EntryPoint when a simple URL cannot fully specify how to formulate a request or interpret the response:

For some platforms and use cases, however, a simple URL is insufficient for formulating a request and/or processing the result, so we are introducing a new EntryPoint class for specifying that additional context beyond a URL when necessary.

— Schema.org, Actions — Part 3: Action EntryPoints

Use an @type": "EntryPoint" object (often several, in an array) when you need urlTemplate, MIME types, HTTP method, platform, or host application details.

The canonical property reference is on target (values: EntryPoint or URL) and the EntryPoint type listing in Schema.org version 30.1.

EntryPoint properties: request, response, platform, and app

Section titled “EntryPoint properties: request, response, platform, and app”

The following properties are defined on EntryPoint and summarised on the latest vocabulary page.

Property Expected type Role
urlTemplate Text RFC 6570 template used to build the execution target URL
httpMethod Text HTTP method for an HTTP EntryPoint; capitalised strings as in HTTP
encodingType Text Supported encoding type(s) for an EntryPoint request
contentType Text Supported content type(s) for an EntryPoint response
actionPlatform DigitalPlatformEnumeration, Text, or URL High-level platform(s) where the action can run for the given URL
actionApplication SoftwareApplication Application that can complete the request
application SoftwareApplication Legacy; same intent as actionApplication

Property wording from Schema.org:

urlTemplate — An url template (RFC6570) that will be used to construct the target of the execution of the action.

— Schema.org, urlTemplate

httpMethod — An HTTP method that specifies the appropriate HTTP method for a request to an HTTP EntryPoint. Values are capitalized strings as used in HTTP.

— Schema.org, EntryPoint

contentType — The supported content type(s) for an EntryPoint response.

— Schema.org, contentType

encodingType — The supported encoding type(s) for an EntryPoint request.

— Schema.org, encodingType

actionPlatform — The high level platform(s) where the Action can be performed for the given URL. To specify a specific application or operating system instance, use actionApplication.

— Schema.org, EntryPoint

actionApplication — An application that can complete the request.

— Schema.org, actionApplication

For application, the type page notes it is superseded by actionApplication. New markup should prefer actionApplication unless you are matching older examples.

actionPlatform is for coarse platform binding; pair it with actionApplication (and OS-specific fields on SoftwareApplication) when you mean one concrete app install, as in the multi-platform restaurant example below.

urlTemplate holds a URI Template (RFC 6570) that clients expand to the real request URL when “executing” the action. It is the core field when the action is not just “open this fixed link.”

Schema.org describes scheme-based encodings when a template alone is not ideal, including Android app deep links:

Ideally, the simple “deep link” use cases should work with just a simple URL template. In some cases, new schemes might even be created to make that possible for some platforms, for example:

android-app://{package_id}/{scheme}/{host_path}

— Schema.org, Actions — Part 3: Action EntryPoints

The actions guide also warns that platform-specific binding details may evolve:

Note: we expect the detail of platform-specific bindings to evolve and be clarified through implementation experience.

— Schema.org, Actions — Part 3: Action EntryPoints

Treat scheme strings and templates as interoperable hints; confirm behaviour with the consumers you care about (assistants, apps, or your own executor).

Example: multiple targets for one ViewAction

Section titled “Example: multiple targets for one ViewAction”

The Actions — Part 3 restaurant example shows target as a mix of plain URLs, EntryPoint objects with JSON-LD contentType, custom schemes, and application / SoftwareApplication blocks for iOS and Windows Phone.

Patterns to copy:

  • Web page: string URL in target
  • HTTP API returning JSON-LD: EntryPoint with urlTemplate and contentType: "application/json+ld"
  • Mobile: android-app://… string and/or EntryPoint with urlTemplate plus nested SoftwareApplication (name, operatingSystem, @id)

That example is illustrative; comments in the source note the JSON is not strict JSON (comments added for readability).

  • Confusing vocabulary with other “entrypoint” terms. Schema.org EntryPoint is only the intangible type for web-protocol action targets. It is not the same notion as an unrelated “entrypoint” field in other products’ logs or runtime APIs unless you map those separately in your own stack.
  • Using deprecated application on new data. Prefer actionApplication over application.
  • Omitting httpMethod or MIME types for real HTTP APIs. If the action is an HTTP call, document httpMethod, encodingType, and contentType when clients need them—not only urlTemplate.
  • Treating actionPlatform as a full app descriptor. Use actionPlatform for high-level platform; use actionApplication for a specific app instance.
  • Assuming every consumer executes actions. Markup describes potential actions; see Actions — Part 3 for the execution model against target.
  1. Open your page’s JSON-LD (or microdata) and locate potentialAction (or other Action types). Confirm each action’s target is either a URL or an object with @type": "EntryPoint".

  2. For each EntryPoint, compare fields to the definitions on EntryPoint: urlTemplate, httpMethod, encodingType, contentType, actionPlatform, and actionApplication.

  3. Cross-check multi-target patterns against the examples in Actions — Part 3: Action EntryPoints (simple URL, API contentType, app deep links).

  4. Verify you did not rely on superseded application where actionApplication is appropriate, and that property names match the Schema.org 30.1 EntryPoint listing.

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page disagrees with your markup or with the linked Schema.org definitions, write to yimasynthetic@gmail.com with the page URL and the exact sentence or property you want clarified.