Join Slack
Powered by
<@U06D0TMQ2U8> do you know if we have a JSON schem...
# hub
t
taylor
10/14/2022, 8:55 PM
@pat_nadolny
do you know if we have a JSON schema validating commands defined on a plugin? I’m not seeing it in the schemas directory, but I could be missing something.
taylor
10/14/2022, 8:56 PM
we have
https://docs.meltano.com/reference/plugin-definition-syntax#commands
p
pat_nadolny
10/14/2022, 9:02 PM
We have it in the json schemas
https://github.com/meltano/hub/blob/33412271e5e08570bb69973f93337b152318b662/schemas/common/common.schema.json#L82
but it doesnt look to check much more than the fact that its an object
pat_nadolny
10/14/2022, 9:02 PM
I think its better defined in the meltano.yml schemas, let me see if I can find it
pat_nadolny
10/14/2022, 9:03 PM
yeah
https://github.com/meltano/meltano/blob/da4bd92a000e77c1a1528f53cd75f13295210c90/schema/meltano.schema.json#L190
pat_nadolny
10/14/2022, 9:03 PM
I think its actually slightly outdated or wrong though because I'm getting a red squiggly in my meltano.yml
t
taylor
10/14/2022, 9:04 PM
ah ok. I can open an issue to add it to the Hub too b/c we should validate commands there
taylor
10/14/2022, 9:07 PM
https://github.com/meltano/hub/issues/929
Open in Slack
Previous
Next