After updating collector/enricher recently I started receiving validation errors:
[{"path":"$","message":"Unknown Metaschema: http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0"}]}},{"schemaKey":"iglu:com.stacktome/content_impression/jsonschema/1-0-0","error":{"error":"ValidationError","schemaIssues":[{"path":"$","message":"Unknown Metaschema: http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0"}]}}
when iglu schema as follows:
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0",
"description": "Schema for content impression context",
"self":
{
"vendor": "com.stacktome",
"name": "content_impression",
"format": "jsonschema",
"version": "1-0-0"
},
"type": "object",
"properties":
{
"contentId": {"type":["string"],"maxLength":255},
"contentType": {"type":["string"],"maxLength":255},
"contentObjectType": {"type":["string"],"maxLength":255},
"contentSource": {"type":["string"],"maxLength":255},
"contentLanguage": {"type":["string"],"maxLength":255},
"contentTitle": {"type":["string"],"maxLength":255},
"contentRating": {"type":"integer","maxLength":255},
"contentScore": {"type":"number"},
"containerType": {"type":["string"],"maxLength":255},
"publishedTimestamp": {"type":["string"],"format":"date-time"},
"position": {"type":"integer"}
},
"minProperties": 1,
"additionalProperties": false
}
it’s quite strange cause all custom schemas we use have same $schema definition; I tried adding # at the end but didn’t help. The only thing that’s different about this, is that there are higher version schemas 1-0-1,2,3,4 - I couldn’t delete them yet but not sure if that would be causing the validation issue, but it seems the only thing that I can think of that’s different now.
I guess somewhat related to: Enriched Bad event - Failure cause