Skip to content

Action's target property should list URL as an expected type #1655

@RehanSaeed

Description

@RehanSaeed

According to https://schema.org/Action the target property has an expected type of https://schema.org/EntryPoint. However according to the docs it can also take the form of a URL like so:

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

The docs seem correct as Google structured data uses also uses the target property as a URL type. In fact reading further, the docs also mention that the target property can take the form of an array of URL/EntryPoint types.

Metadata

Metadata

Assignees

Labels

Queued for Release Notes and release reviewThis is ready to send around (and check release notes are suitable)no-issue-activityDiscuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!).type:bugA mistake or malfunction whose remedy should be straightforward technical work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions