{
  "name": "hours",
  "title": "This collection represents hours worked for one or multiple clients",
  "version": "2015",
  "last_updated": "2015-04-13",
  "resources": [{
      "path":"clients.csv",
      "format": "csv",
      "mediatype": "text/csv",
      "client": {
        "name": "ACME Organic Co-Op",
        "address": "123 Orange St",
        "city": "Portland, OR",
        "postal": "97210",
        "country": "USA"
      },
      "payment": {
        "bank": "M Corp Megabank",
        "iban": "DE12345678786",
        "bic": "ZEL213244",
        "address_one": "1 Corporate Ave",
        "address_two": "London, EW1221",
        "country": "England"
      },
      "templates": [
        "invoice"
      ],
      "schema": {
        "fields": [{
            "name": "date",
            "title": "date when work was performed",
            "type": "date"
          },{
            "name": "time",
            "title": "the amount of time worked. Represent in hours as floating point '8' or '0.5' value",
            "type": "number"
          },{
            "name": "description",
            "title": "description of work performed",
            "type": "string"
          },{
            "name": "client",
            "title": "name of client worked for",
            "type": "string"
          },{
            "name": "location",
            "title": "place where work was performed",
            "type": "string"
          },{
            "name": "rate",
            "title": "the rate to invoice at",
            "type": "number"
          }]
      }
  }]
}
