Hello Team,
Thank you so much for your response.
I am also using the same command, let me explain you our scenario.
we have a filed called button_click.json and the path for this file is schemas
└── com.snowplowanalytics
└── button_click
└── jsonschema
└── 1-0-0
└── button_click.json
the connect of the button_click .json file:
{
“$schema”: “http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#”,
“description”: “Schema for a button click event”,
“self”: {
“vendor”: “com.snowplowanalytics”,
“name”: “button_click”,
“format”: “jsonschema”,
“version”: “1-0-0”
},
“type”: “object”,
“properties”: {
“id”: {
“type”: “string”,
“minLength”: 1
},
“target”: {
“type”: “string”
},
“content”: {
“type”: “string”
}
},
“required”: [“id”],
“additionalProperties”: false
}
After that, first I used the lint command to validate the json file and the command is →
./igluctl lint /Users/ridhamshah/Documents/CDP/igluctl/schemas/com.snowplowanalytics.self-desc/button_click/jsonschema/1-0-0/
and we are getting an error as shown below:
Cannot read [/Users/ridhamshah/Documents/CDP/igluctl/schemas/com.snowplowanalytics.self-desc/button_click/jsonschema/1-0-0]: Path is neither file or directory
Cannot read [/Users/ridhamshah/Documents/CDP/igluctl/schemas/com.snowplowanalytics.self-desc/button_click/jsonschema/1-0-0]: no valid JSON Schemas
TOTAL: 1 files corrupted
Could you please give me an update on this one where am I doing wrong?
Is there any configurations we need to do regarding the vendor prefix or json file?
Do we need to configure the iglu reslover file as well and if yes then where?
Thanks