instill-core icon indicating copy to clipboard operation
instill-core copied to clipboard

[INS-2137] [Improvement] Define a json-schema to validate component `definition.json`

Open donch1989 opened this issue 2 years ago • 1 comments
trafficstars

Is There an Existing Issue for This?

  • [X] I have searched the existing issues

Project

Instill VDP

Is your Proposal Related to a Problem?

For all connectors and operators, we have a definition.json file to define the spec of the component. But we don't have a way to validate the correctness of the definition.json file.

We should provide a way to validate the definition.json file.

Describe Your Proposed Improvement

We can define a json-schema file that is used for validating all connector and operator definition.json file.

Highlight the Benefits

No response

Anything Else?

No response

INS-2137

donch1989 avatar Sep 26 '23 15:09 donch1989