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

Register Input Schema schema at SchemaStore, add permalink to location #401

Open
fnesveda opened this issue Jul 7, 2023 · 2 comments
Open

Comments

@fnesveda
Copy link
Member

fnesveda commented Jul 7, 2023

It would be nice to have the input schema registered at https://www.schemastore.org/json/, so that supporting editors like VSCode can offer autocompletion and validation.

It would also be nice to have a permalink to the input schema schema, which would redirect to the schema's location (currently at https://github.com/apify/apify-shared-js/blob/master/packages/input_schema/src/schema.json), so that we can put it to the input schema's $schema prop, and not worry about where the actual input schema schema file is located.

@B4nan
Copy link
Member

B4nan commented Jul 10, 2023

It would also be nice to have a permalink to the input schema schema

Can't we just use https://raw.githubusercontent.com/apify/apify-shared-js/master/packages/input_schema/src/schema.json? I guess that link won't change any time soon.

@fnesveda
Copy link
Member Author

Yeah, but if it ever changes (e.g. we change the structure of the repo), everything using that link will break, that's why having a permalink that redirects to a correct location would be nice.

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