Not able to validate and push json schema to iglu server

Hi @ridham,

The JSON schema should be defined in a 1-0-0 file instead of the 1-0-0/button_click.json. So in your case, the folder and file structure should be:
└── com.snowplowanalytics
└── button_click
└── jsonschema
└── 1-0-0

See here for an example of the expected folder and file structure.

Also it seems that your vendor folder has a wrong name – com.snowplowanalytics.self-desc instead of com.snowplowanalytics.

Finally, it’s a good practice to use a custom vendor instead of com.snowplowanalytics for your custom schemas.

As a sidenote, I would like to mention that the last release of the JS tracker has a button click tracking feature. It uses an event schema defined here.

1 Like