Hi there,
I’ve set up a Snowplow mini (back to the 0.6.0 version) instance, and would like to send some custom events to it from a Java tracker. However, I’m stuck at creating the right self-describing json schema, it won’t validate with the igluctl lint command.
If I run the command, response is “JSON schema in [schemas\paap_dev_event.json] does not correspond to its metadata [iglu:com.planonsoftware/paap_dev_event/jsonschema/1-0-0]”. My paap_dev_event.json looks like this:
{
“$schema”: “http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#”,
“description”: “paap_dev_event”,
“self”: {
“vendor”: “com.planonsoftware”,
“name”: “paap_dev_event”,
“format”: “jsonschema”,
“version”: “1-0-0”
},
“type”: “object”,
“properties”: {
“category”: {
“type”: “string”,
“maxLength”: 100,
“description”: “event category”
},
“action”: {
“type”: “string”,
“maxLength”: 100,
“description”: “the action that was performed by the actor”
},
“label”: {
“type”: “string”,
“maxLength”: 255,
“description”: “a string to provide additional dimensions to the event data”
},
“workspaceId”: {
“type”: “string”,
“description”: “workspace id”
},
“session”: {
“type”: “string”,
“maxLength”: 36,
“description”: “IDE session uuid”
}
},
“required”: [“category”,“action”,“session”,“workspaceId”],
“additionalProperties”:false
}
What am I doing wrong?