{"action":"created","issue":{"url":"https://api.github.com/repos/snowplow/iglu-central/issues/212","labels_url":"https://api.github.com/repos/snowplow/iglu-central/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/snowplow/iglu-central/issues/212/comments","events_url":"https://api.github.com/repos/snowplow/iglu-central/issues/212/events","html_url":"https://github.com/snowplow/iglu-central/issues/212","id":105236025,"number":212,"title":"Create self-describing Avro for enriched events","user":{"login":"fblundun","id":5892914,"avatar_url":"https://avatars.githubusercontent.com/u/5892914?v=3","gravatar_id":"","url":"https://api.github.com/users/fblundun","html_url":"https://github.com/fblundun","followers_url":"https://api.github.com/users/fblundun/followers","following_url":"https://api.github.com/users/fblundun/following{/other_user}","gists_url":"https://api.github.com/users/fblundun/gists{/gist_id}","starred_url":"https://api.github.com/users/fblundun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fblundun/subscriptions","organizations_url":"https://api.github.com/users/fblundun/orgs","repos_url":"https://api.github.com/users/fblundun/repos","events_url":"https://api.github.com/users/fblundun/events{/privacy}","received_events_url":"https://api.github.com/users/fblundun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/snowplow/iglu-central/labels/new-schema","name":"new-schema","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"fblundun","id":5892914,"avatar_url":"https://avatars.githubusercontent.com/u/5892914?v=3","gravatar_id":"","url":"https://api.github.com/users/fblundun","html_url":"https://github.com/fblundun","followers_url":"https://api.github.com/users/fblundun/followers","following_url":"https://api.github.com/users/fblundun/following{/other_user}","gists_url":"https://api.github.com/users/fblundun/gists{/gist_id}","starred_url":"https://api.github.com/users/fblundun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fblundun/subscriptions","organizations_url":"https://api.github.com/users/fblundun/orgs","repos_url":"https://api.github.com/users/fblundun/repos","events_url":"https://api.github.com/users/fblundun/events{/privacy}","received_events_url":"https://api.github.com/users/fblundun/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-09-07T15:24:53Z","updated_at":"2015-09-16T10:32:58Z","closed_at":null,"body":"The first version of the Avro will probably have:\r\n\r\n* A field containing the version of the schema\r\n* A data field containing:\r\n - The version of the TSV\r\n - The TSV"},"comment":{"url":"https://api.github.com/repos/snowplow/iglu-central/issues/comments/140700225","html_url":"https://github.com/snowplow/iglu-central/issues/212#issuecomment-140700225","issue_url":"https://api.github.com/repos/snowplow/iglu-central/issues/212","id":140700225,"user":{"login":"fblundun","id":5892914,"avatar_url":"https://avatars.githubusercontent.com/u/5892914?v=3","gravatar_id":"","url":"https://api.github.com/users/fblundun","html_url":"https://github.com/fblundun","followers_url":"https://api.github.com/users/fblundun/followers","following_url":"https://api.github.com/users/fblundun/following{/other_user}","gists_url":"https://api.github.com/users/fblundun/gists{/gist_id}","starred_url":"https://api.github.com/users/fblundun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fblundun/subscriptions","organizations_url":"https://api.github.com/users/fblundun/orgs","repos_url":"https://api.github.com/users/fblundun/repos","events_url":"https://api.github.com/users/fblundun/events{/privacy}","received_events_url":"https://api.github.com/users/fblundun/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T10:32:58Z","updated_at":"2015-09-16T10:32:58Z","body":"Actually we should allow the elements of the array to be null, since most of our fields aren't populated at all:\r\n\r\n```json\r\n{\r\n\t\"namespace\": \"com.snowplowanalytics.avro\",\r\n\t\"name\": \"EnrichedEvent\",\r\n\t\"type\": \"record\",\r\n\t\"fields\": [\r\n\t\t{\r\n\t\t\t\"name\": \"version\",\r\n\t\t\t\"type\": \"string\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"name\": \"columns\",\r\n\t\t\t\"type\": {\r\n\t\t\t\t\"type\": \"array\",\r\n\t\t\t\t\"items\": [\"null\",\"string\"]\r\n\t\t\t}\r\n\t\t}\r\n\t]\r\n}\r\n```"}}