When creating a custom context JSON schema can we define a default value for a certain field?
{ | |
"$schema" : "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | |
"self" : { | |
"vendor" : "com.amazon.aws.ec2", | |
"name" : "instance_identity_document", | |
"version" : "1-0-0", | |
"format" : "jsonschema" | |
}, | |
"type" : "object", | |
"properties" : { | |
"instanceId" : { | |
"type" : "string", | |
"minLength" : 10, | |
"maxLength" : 19 | |
}, |
Also I have a schema I need to update. When incrementing the JSON schema version from 1-0-0 to 1-0-1, the SQL generated by the schema-guru still gives me a table xxxx_1. Shouldn't it create a table xxxx_1_0_1?
How does Snowplow knows which data goes to each schema? For some time I will have data going to the 1-0-0 and other going to 1-0-1.
{ "schema": "iglu:com.snowplowanalytics/ad_click/jsonschema/1-0-0", "data": { "bannerId": "4732ce23d345" } }