github.com/buddhamagnet/canonical-model


Install
go get github.com/buddhamagnet/canonical-model

Documentation

Economist Canonical Data Model

Run the main.go file to have to API documentation and a sample article served on your localhost port 9494.

This code provides full RAML documentation and a rough outline of the Go structures that encapsulate the Economist canonical data model as outlined in the spreadsheet found here: https://docs.google.com/a/economist.com/spreadsheets/d/1eyFVfnu6pKlW58QGXc7cevE3o9MvNrTO40MGremJLfw/edit?usp=sharing

Additional samples can be added to illustration how other types of content, such as images, lists, and blog sites, would fit into this model.