Add missing input/output/dataset schemas to all templates - #866
Add missing input/output/dataset schemas to all templates#866patrikbraborec wants to merge 3 commits into
Conversation
Several templates (empty, standby, bootstrap-cheerio-crawler, cli-start, python-scrapy, and the MCP server templates) were missing input, output, and/or dataset schemas. Adds empty schemas where the template has no input/output, and real schemas reflecting actual fields where it does, so every template is compliant with the Store schema requirement.
|
some quick thoughts:
only 1. is probably blocker, 2 is nonblocking, just general discussion. |
| "$schema": "https://apify.com/schemas/v1/output.ide.json", | ||
| "actorOutputSchemaVersion": 1, | ||
| "title": "Output schema", | ||
| "properties": {} |
There was a problem hiding this comment.
to be exact, we want to display Log tab instead Output tab?
There was a problem hiding this comment.
No, let's keep the Output tab.
Let's add it, please.
Yes, let's add it. |
|
There is also long discussion: https://apify.slack.com/archives/C07240BTLR0/p1784212106821249. I think we should wait before we decide on how to handle it. cc. @DaveHanns |
Per PR review: an output schema with no properties makes Apify Console show the Log tab instead of the Output tab, and we want to keep the Output tab. Point the results property at the default dataset items, same as the other templates. Also reference input_schema.json explicitly in actor.json for js-langchain and js-langgraph-agent, which relied on the default file-path lookup.
|
Hey @l2ysho and @DaveHanns -- I updated the PR, and it's now OK with https://apify.slack.com/archives/C07240BTLR0/p1785747846889219?thread_ts=1784212106.821249&cid=C07240BTLR0. Can we merge it? |

Summary
js-empty,ts-empty,python-empty,js-standby,ts-standby,python-standby,js-bootstrap-cheerio-crawler,ts-bootstrap-cheerio-crawler,cli-start,python-scrapy,python-mcp-empty,python-mcp-proxy,ts-mcp-empty,ts-mcp-proxy.inputSchema).cli-start(name/greeting), the bootstrap-cheerio-crawler templates andpython-scrapy(title/url).templates/now has an input schema, output schema, and a dataset or key-value-store schema.Closes #867