This repo contains a set of JSON schemas for Snowplow Iglu registry to integrate Snowplow and Metarank. See the main Metarank Snowplow integration document for details on setting this thing up.
Schemas in schemas directory are regular JSONSchema schemas, so you can use these to validate your events even without the Snowplow Enrich.
There are four different Metarank event types with the corresponding schemas:
ai.metarank/item/jsonschema/1-0-0
: item metadata eventai.metarank/user/jsonschema/1-0-0
: user metadata eventai.metarank/ranking/jsonschema/1-0-0
: ranking eventai.metarank/interaction/jsonschema/1-0-0
: interaction event
Check out the main metarank docs about event type format details.
These schemas are published automatically on https://iglu.metarank.ai
, you can use the
following resolver.json
snippet to use it in the enrichment pass:
{
"schema": "iglu:com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-1",
"data": {
"cacheSize": 500,
"repositories": [
{
"name": "Metarank",
"priority": 0,
"vendorPrefixes": [ "ai.metarank" ],
"connection": {
"http": {
"uri": "https://iglu.metarank.ai"
}
}
}
]
}
}
Both http
and https
schemas are supported, but https
is recommended.
Licensed under the Apache 2.0 license.