Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action type #2

Open
valentinedwv opened this issue Mar 20, 2022 · 0 comments
Open

Action type #2

valentinedwv opened this issue Mar 20, 2022 · 0 comments
Assignees

Comments

@valentinedwv
Copy link
Contributor

Argoviz and others have a target

    "potentialAction": [
        {
            "@type": "Action",
            "name": "Execute web application",
            "target": {
                "@type": "EntryPoint",
                "urlTemplate": "https://mybinder.org/v2/gh/earthcube/NotebookTemplates.git/main?filepath=GeoCODEStemplates/ARGO/SA_01_Argo_Data_Exploration.ipynb%22",
                "description": "Open software on the web",
                "httpMethod": ["GET"]
            }
        }
    ],

Schema does not have a target property:

      "action_type": {
           "type": "object",
           "properties": {
               "@type": {"const": "Action"},
               "urlTemplate": {"type": "string"},
               "description": {
                   "type": "string",
                   "default": "Open software on the web"
               },
               "httpMethod": {
                   "type": "array",
                   "items": [
                       {
                           "type": "string",
                           "default": "GET"
                       }
                   ]
               }
           }
       },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants