{ "views": [ { "breakdown": "spendingarea", "name": "default", "label": "Default breakdown by Spending Area", "filters": { "name": "openspending-example" }, "entity": "dataset", "dimension": "dataset" }, { "breakdown": "to", "name": "default", "label": "Breakdown of Spending Areas by Company", "filters": { "taxonomy": "lbhf-spending-area" }, "entity": "classifier", "dimension": "spendingarea" } ], "mapping": { "from": { "attributes": { "name": { "datatype": "id", "column": "paid_by" }, "label": { "column": "paid_by", "datatype": "string", "default_value": "", "constant": "" } }, "type": "compound", "description": "Payer", "label": "Payer" }, "to": { "attributes": { "name": { "datatype": "id", "column": "paid_to" }, "label": { "column": "paid_to", "datatype": "string", "default_value": "", "constant": "" } }, "type": "compound", "description": "Payee", "label": "Payee" }, "unique_rowid": { "default_value": "", "description": "Nonce Row ID", "column": "unique_rowid", "label": "RowID", "datatype": "string", "key": true, "type": "attribute" }, "spendingarea": { "description": "Spending Area", "label": "Spending Area", "taxonomy": "lbhf-spending-area", "attributes": { "name": { "datatype": "id", "column": "spending_area" }, "label": { "default_value": "", "column": "spending_area", "datatype": "string" } }, "type": "compound" }, "currency": { "default_value": "GBP", "description": "Currency", "column": "currency", "label": "Currency", "datatype": "string", "type": "attribute" }, "amount": { "default_value": "", "description": "Amount", "column": "amount", "label": "Amount", "datatype": "float", "type": "measure" }, "time": { "default_value": "", "description": "Date", "column": "date", "label": "Date", "datatype": "date", "type": "date" }, "transactionid": { "default_value": "", "description": "Reference", "column": "transaction_id", "label": "Reference", "datatype": "string", "type": "attribute" } }, "dataset": { "description": "Description of OS Sample dataset", "temporal_granularity": "year", "schema_version": "2011-12-07", "name": "openspending-example", "currency": "GBP", "label": "Openspending Sample dataset" } }