Last active
March 29, 2016 16:10
-
-
Save buren/74dca50bc5b1d7ff3fa2 to your computer and use it in GitHub Desktop.
Example jsonapi-datastore usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs') | |
var JsonApiDataStore = require('jsonapi-datastore').JsonApiDataStore; | |
function readExampleToObject(fileName, callback) { | |
fs.readFile(fileName, 'utf8', function (err, data) { | |
if (err) { | |
return console.log(err); | |
} | |
return callback(JSON.parse(data)); | |
}); | |
} | |
// Create a store: | |
var store = new JsonApiDataStore(); | |
var fileName = 'jobs.json'; | |
readExampleToObject(fileName, function (payload) { | |
// we can sync it: | |
var jobs = store.sync(payload); | |
// which will return the list of synced jobs. | |
// Later, we can retrieve one of those: | |
var id = 32; | |
var job = store.find('jobs', id); | |
console.log('Job ' + id + ' rate:', job.max_rate); | |
// we can get all jobs in the store | |
var jobs = store.findAll('jobs'); | |
console.log('Jobs in store: ', jobs.length); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"id": "32", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 1, | |
"owner_user_id": 1, | |
"max_rate": 100, | |
"description": "Something something, darkside.", | |
"job_date": "2015-12-12T00:00:00.000+01:00", | |
"hours": 1, | |
"name": "Watman", | |
"created_at": "2016-03-24T09:52:28.251+01:00", | |
"updated_at": "2016-03-24T09:55:25.256+01:00", | |
"street": "Wollmar Yxkullsgatan 13", | |
"zip": "11852", | |
"zip_latitude": 59.315929, | |
"zip_longitude": 18.0625382, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [] | |
}, | |
"owner": { | |
"data": { | |
"id": "1", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "1", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "1", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "31", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 1, | |
"owner_user_id": 1, | |
"max_rate": 100, | |
"description": "Something something, darkside.", | |
"job_date": "2015-12-12T00:00:00.000+01:00", | |
"hours": 1, | |
"name": "Watman", | |
"created_at": "2016-03-24T09:51:33.527+01:00", | |
"updated_at": "2016-03-24T09:51:33.527+01:00", | |
"street": "Storta Nygatan 36", | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [] | |
}, | |
"owner": { | |
"data": { | |
"id": "1", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "1", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "1", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "30", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 151, | |
"owner_user_id": 55, | |
"max_rate": 80, | |
"description": "Pour-over single-origin coffee meggings letterpress fap aesthetic hoodie fixie. Tousled blog cray. Viral carry venmo chartreuse echo kickstarter.", | |
"job_date": "2016-04-01T21:33:27.713+02:00", | |
"hours": 10, | |
"name": "Major Gislason", | |
"created_at": "2016-03-23T21:33:27.801+01:00", | |
"updated_at": "2016-03-23T21:33:27.801+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "288", | |
"type": "comments" | |
}, | |
{ | |
"id": "289", | |
"type": "comments" | |
}, | |
{ | |
"id": "290", | |
"type": "comments" | |
}, | |
{ | |
"id": "291", | |
"type": "comments" | |
}, | |
{ | |
"id": "292", | |
"type": "comments" | |
}, | |
{ | |
"id": "293", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "55", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "6", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "151", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "29", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 73, | |
"owner_user_id": 55, | |
"max_rate": 70, | |
"description": "Health migas franzen fanny pack leggings bitters irony. Seitan franzen cronut brunch direct trade. Lo-fi lomo green juice keytar intelligentsia 8-bit tilde thundercats.", | |
"job_date": "2016-04-01T21:33:27.602+02:00", | |
"hours": 10, | |
"name": "Quincy Pfeffer", | |
"created_at": "2016-03-23T21:33:27.686+01:00", | |
"updated_at": "2016-03-23T21:33:27.686+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": null, | |
"zip_longitude": null, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "280", | |
"type": "comments" | |
}, | |
{ | |
"id": "281", | |
"type": "comments" | |
}, | |
{ | |
"id": "282", | |
"type": "comments" | |
}, | |
{ | |
"id": "283", | |
"type": "comments" | |
}, | |
{ | |
"id": "284", | |
"type": "comments" | |
}, | |
{ | |
"id": "285", | |
"type": "comments" | |
}, | |
{ | |
"id": "286", | |
"type": "comments" | |
}, | |
{ | |
"id": "287", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "55", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "6", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "73", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "28", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 187, | |
"owner_user_id": 55, | |
"max_rate": 70, | |
"description": "Cred bitters flexitarian listicle tattooed williamsburg. Cray kombucha deep v trust fund keytar forage letterpress. Mustache deep v helvetica disrupt. Meditation cornhole master umami.", | |
"job_date": "2016-03-18T21:33:27.497+01:00", | |
"hours": 7, | |
"name": "Ford Treutel", | |
"created_at": "2016-03-23T21:33:27.588+01:00", | |
"updated_at": "2016-03-23T21:33:27.588+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "278", | |
"type": "comments" | |
}, | |
{ | |
"id": "279", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "55", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "6", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "187", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "27", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 138, | |
"owner_user_id": 52, | |
"max_rate": 100, | |
"description": "Tousled stumptown godard umami park mustache letterpress. Street goth keffiyeh. Chia gluten-free kickstarter banjo. Iphone poutine chillwave authentic polaroid 3 wolf moon put a bird on it pop-up.", | |
"job_date": "2016-04-01T21:33:27.373+02:00", | |
"hours": 6, | |
"name": "Mr. Myrtis Bins", | |
"created_at": "2016-03-23T21:33:27.461+01:00", | |
"updated_at": "2016-03-23T21:33:27.461+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "266", | |
"type": "comments" | |
}, | |
{ | |
"id": "267", | |
"type": "comments" | |
}, | |
{ | |
"id": "268", | |
"type": "comments" | |
}, | |
{ | |
"id": "269", | |
"type": "comments" | |
}, | |
{ | |
"id": "270", | |
"type": "comments" | |
}, | |
{ | |
"id": "271", | |
"type": "comments" | |
}, | |
{ | |
"id": "272", | |
"type": "comments" | |
}, | |
{ | |
"id": "273", | |
"type": "comments" | |
}, | |
{ | |
"id": "274", | |
"type": "comments" | |
}, | |
{ | |
"id": "275", | |
"type": "comments" | |
}, | |
{ | |
"id": "276", | |
"type": "comments" | |
}, | |
{ | |
"id": "277", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "52", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "10", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "138", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "26", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 11, | |
"owner_user_id": 54, | |
"max_rate": 100, | |
"description": "Marfa butcher lo-fi cray cronut banh mi drinking tofu. Raw denim artisan gastropub lo-fi asymmetrical hoodie keytar pour-over.", | |
"job_date": "2016-03-24T21:33:27.275+01:00", | |
"hours": 7, | |
"name": "Sandy Moen", | |
"created_at": "2016-03-23T21:33:27.362+01:00", | |
"updated_at": "2016-03-23T21:33:27.362+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "265", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "54", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "9", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "11", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "25", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 155, | |
"owner_user_id": 56, | |
"max_rate": 80, | |
"description": "Shabby chic chicharrones pbr&b ennui pork belly church-key waistcoat. Post-ironic beard celiac. Pork belly kogi trust fund bushwick sriracha brooklyn flannel sartorial.", | |
"job_date": "2016-03-24T21:33:27.132+01:00", | |
"hours": 7, | |
"name": "Gerardo Grant", | |
"created_at": "2016-03-23T21:33:27.225+01:00", | |
"updated_at": "2016-03-23T21:33:27.225+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "246", | |
"type": "comments" | |
}, | |
{ | |
"id": "247", | |
"type": "comments" | |
}, | |
{ | |
"id": "248", | |
"type": "comments" | |
}, | |
{ | |
"id": "249", | |
"type": "comments" | |
}, | |
{ | |
"id": "250", | |
"type": "comments" | |
}, | |
{ | |
"id": "251", | |
"type": "comments" | |
}, | |
{ | |
"id": "252", | |
"type": "comments" | |
}, | |
{ | |
"id": "253", | |
"type": "comments" | |
}, | |
{ | |
"id": "254", | |
"type": "comments" | |
}, | |
{ | |
"id": "255", | |
"type": "comments" | |
}, | |
{ | |
"id": "256", | |
"type": "comments" | |
}, | |
{ | |
"id": "257", | |
"type": "comments" | |
}, | |
{ | |
"id": "258", | |
"type": "comments" | |
}, | |
{ | |
"id": "259", | |
"type": "comments" | |
}, | |
{ | |
"id": "260", | |
"type": "comments" | |
}, | |
{ | |
"id": "261", | |
"type": "comments" | |
}, | |
{ | |
"id": "262", | |
"type": "comments" | |
}, | |
{ | |
"id": "263", | |
"type": "comments" | |
}, | |
{ | |
"id": "264", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "56", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "8", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "155", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "24", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 88, | |
"owner_user_id": 54, | |
"max_rate": 70, | |
"description": "Try-hard bicycle rights locavore gentrify everyday beard +1. Pork belly 3 wolf moon celiac asymmetrical everyday listicle.", | |
"job_date": "2016-03-30T21:33:27.021+02:00", | |
"hours": 10, | |
"name": "Henry Jacobson", | |
"created_at": "2016-03-23T21:33:27.101+01:00", | |
"updated_at": "2016-03-23T21:33:27.101+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "236", | |
"type": "comments" | |
}, | |
{ | |
"id": "237", | |
"type": "comments" | |
}, | |
{ | |
"id": "238", | |
"type": "comments" | |
}, | |
{ | |
"id": "239", | |
"type": "comments" | |
}, | |
{ | |
"id": "240", | |
"type": "comments" | |
}, | |
{ | |
"id": "241", | |
"type": "comments" | |
}, | |
{ | |
"id": "242", | |
"type": "comments" | |
}, | |
{ | |
"id": "243", | |
"type": "comments" | |
}, | |
{ | |
"id": "244", | |
"type": "comments" | |
}, | |
{ | |
"id": "245", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "54", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "9", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "88", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "23", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 145, | |
"owner_user_id": 55, | |
"max_rate": 80, | |
"description": "Next level literally fashion axe wolf mustache. Yr pinterest blue bottle blog 90's vhs tilde kickstarter.", | |
"job_date": "2016-03-13T21:33:26.890+01:00", | |
"hours": 10, | |
"name": "Mr. Edd Langworth", | |
"created_at": "2016-03-23T21:33:26.973+01:00", | |
"updated_at": "2016-03-23T21:33:26.973+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "222", | |
"type": "comments" | |
}, | |
{ | |
"id": "223", | |
"type": "comments" | |
}, | |
{ | |
"id": "224", | |
"type": "comments" | |
}, | |
{ | |
"id": "225", | |
"type": "comments" | |
}, | |
{ | |
"id": "226", | |
"type": "comments" | |
}, | |
{ | |
"id": "227", | |
"type": "comments" | |
}, | |
{ | |
"id": "228", | |
"type": "comments" | |
}, | |
{ | |
"id": "229", | |
"type": "comments" | |
}, | |
{ | |
"id": "230", | |
"type": "comments" | |
}, | |
{ | |
"id": "231", | |
"type": "comments" | |
}, | |
{ | |
"id": "232", | |
"type": "comments" | |
}, | |
{ | |
"id": "233", | |
"type": "comments" | |
}, | |
{ | |
"id": "234", | |
"type": "comments" | |
}, | |
{ | |
"id": "235", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "55", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "6", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "145", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "22", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 180, | |
"owner_user_id": 56, | |
"max_rate": 80, | |
"description": "Irony lumbersexual raw denim keytar forage hoodie keffiyeh. Kombucha chia iphone diy.", | |
"job_date": "2016-03-13T21:33:26.798+01:00", | |
"hours": 7, | |
"name": "Rocio Lowe", | |
"created_at": "2016-03-23T21:33:26.881+01:00", | |
"updated_at": "2016-03-23T21:33:26.881+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": null, | |
"zip_longitude": null, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "221", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "56", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "8", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "180", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "21", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 89, | |
"owner_user_id": 52, | |
"max_rate": 70, | |
"description": "Seitan dreamcatcher truffaut gluten-free artisan ethical park. Biodiesel selfies fixie yolo tousled lomo tumblr. Food truck try-hard flannel migas 8-bit letterpress.", | |
"job_date": "2016-03-30T21:33:26.671+02:00", | |
"hours": 7, | |
"name": "Theodora Klocko PhD", | |
"created_at": "2016-03-23T21:33:26.747+01:00", | |
"updated_at": "2016-03-23T21:33:26.747+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": null, | |
"zip_longitude": null, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "203", | |
"type": "comments" | |
}, | |
{ | |
"id": "204", | |
"type": "comments" | |
}, | |
{ | |
"id": "205", | |
"type": "comments" | |
}, | |
{ | |
"id": "206", | |
"type": "comments" | |
}, | |
{ | |
"id": "207", | |
"type": "comments" | |
}, | |
{ | |
"id": "208", | |
"type": "comments" | |
}, | |
{ | |
"id": "209", | |
"type": "comments" | |
}, | |
{ | |
"id": "210", | |
"type": "comments" | |
}, | |
{ | |
"id": "211", | |
"type": "comments" | |
}, | |
{ | |
"id": "212", | |
"type": "comments" | |
}, | |
{ | |
"id": "213", | |
"type": "comments" | |
}, | |
{ | |
"id": "214", | |
"type": "comments" | |
}, | |
{ | |
"id": "215", | |
"type": "comments" | |
}, | |
{ | |
"id": "216", | |
"type": "comments" | |
}, | |
{ | |
"id": "217", | |
"type": "comments" | |
}, | |
{ | |
"id": "218", | |
"type": "comments" | |
}, | |
{ | |
"id": "219", | |
"type": "comments" | |
}, | |
{ | |
"id": "220", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "52", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "10", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "89", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "20", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 143, | |
"owner_user_id": 56, | |
"max_rate": 80, | |
"description": "Truffaut biodiesel keffiyeh kale chips authentic art party. Truffaut bicycle rights tacos mlkshk vice ethical lumbersexual. Meh austin letterpress. Single-origin coffee selfies kombucha loko.", | |
"job_date": "2016-03-15T21:33:26.535+01:00", | |
"hours": 8, | |
"name": "Octavia Mitchell IV", | |
"created_at": "2016-03-23T21:33:26.619+01:00", | |
"updated_at": "2016-03-23T21:33:26.619+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": null, | |
"zip_longitude": null, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "183", | |
"type": "comments" | |
}, | |
{ | |
"id": "184", | |
"type": "comments" | |
}, | |
{ | |
"id": "185", | |
"type": "comments" | |
}, | |
{ | |
"id": "186", | |
"type": "comments" | |
}, | |
{ | |
"id": "187", | |
"type": "comments" | |
}, | |
{ | |
"id": "188", | |
"type": "comments" | |
}, | |
{ | |
"id": "189", | |
"type": "comments" | |
}, | |
{ | |
"id": "190", | |
"type": "comments" | |
}, | |
{ | |
"id": "191", | |
"type": "comments" | |
}, | |
{ | |
"id": "192", | |
"type": "comments" | |
}, | |
{ | |
"id": "193", | |
"type": "comments" | |
}, | |
{ | |
"id": "194", | |
"type": "comments" | |
}, | |
{ | |
"id": "195", | |
"type": "comments" | |
}, | |
{ | |
"id": "196", | |
"type": "comments" | |
}, | |
{ | |
"id": "197", | |
"type": "comments" | |
}, | |
{ | |
"id": "198", | |
"type": "comments" | |
}, | |
{ | |
"id": "199", | |
"type": "comments" | |
}, | |
{ | |
"id": "200", | |
"type": "comments" | |
}, | |
{ | |
"id": "201", | |
"type": "comments" | |
}, | |
{ | |
"id": "202", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "56", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "8", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "143", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "19", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 83, | |
"owner_user_id": 52, | |
"max_rate": 100, | |
"description": "Post-ironic yolo goth pork belly street sustainable hoodie. Try-hard butcher chartreuse. Neutra seitan cred trust fund.", | |
"job_date": "2016-03-19T21:33:26.426+01:00", | |
"hours": 6, | |
"name": "Geoffrey Hessel IV", | |
"created_at": "2016-03-23T21:33:26.506+01:00", | |
"updated_at": "2016-03-23T21:33:26.506+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "173", | |
"type": "comments" | |
}, | |
{ | |
"id": "174", | |
"type": "comments" | |
}, | |
{ | |
"id": "175", | |
"type": "comments" | |
}, | |
{ | |
"id": "176", | |
"type": "comments" | |
}, | |
{ | |
"id": "177", | |
"type": "comments" | |
}, | |
{ | |
"id": "178", | |
"type": "comments" | |
}, | |
{ | |
"id": "179", | |
"type": "comments" | |
}, | |
{ | |
"id": "180", | |
"type": "comments" | |
}, | |
{ | |
"id": "181", | |
"type": "comments" | |
}, | |
{ | |
"id": "182", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "52", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "10", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "83", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "18", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 11, | |
"owner_user_id": 56, | |
"max_rate": 80, | |
"description": "Twee diy mixtape yuccie yolo brooklyn wayfarers. Direct trade venmo meh gastropub actually cliche try-hard. Sustainable cleanse green juice organic keffiyeh dreamcatcher. Pop-up taxidermy scenester fanny pack church-key cardigan flexitarian.", | |
"job_date": "2016-03-16T21:33:26.298+01:00", | |
"hours": 9, | |
"name": "Alysha Hand", | |
"created_at": "2016-03-23T21:33:26.382+01:00", | |
"updated_at": "2016-03-23T21:33:26.382+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "160", | |
"type": "comments" | |
}, | |
{ | |
"id": "161", | |
"type": "comments" | |
}, | |
{ | |
"id": "162", | |
"type": "comments" | |
}, | |
{ | |
"id": "163", | |
"type": "comments" | |
}, | |
{ | |
"id": "164", | |
"type": "comments" | |
}, | |
{ | |
"id": "165", | |
"type": "comments" | |
}, | |
{ | |
"id": "166", | |
"type": "comments" | |
}, | |
{ | |
"id": "167", | |
"type": "comments" | |
}, | |
{ | |
"id": "168", | |
"type": "comments" | |
}, | |
{ | |
"id": "169", | |
"type": "comments" | |
}, | |
{ | |
"id": "170", | |
"type": "comments" | |
}, | |
{ | |
"id": "171", | |
"type": "comments" | |
}, | |
{ | |
"id": "172", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "56", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "8", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "11", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "17", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 118, | |
"owner_user_id": 53, | |
"max_rate": 80, | |
"description": "Fingerstache squid cliche green juice. Heirloom yr you probably haven't heard of them tilde ugh typewriter. Craft beer five dollar toast church-key forage pork belly plaid poutine. Occupy migas locavore.", | |
"job_date": "2016-04-02T21:33:26.185+02:00", | |
"hours": 5, | |
"name": "Ava Williamson", | |
"created_at": "2016-03-23T21:33:26.265+01:00", | |
"updated_at": "2016-03-23T21:33:26.265+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": null, | |
"zip_longitude": null, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "159", | |
"type": "comments" | |
}, | |
{ | |
"id": "151", | |
"type": "comments" | |
}, | |
{ | |
"id": "152", | |
"type": "comments" | |
}, | |
{ | |
"id": "153", | |
"type": "comments" | |
}, | |
{ | |
"id": "154", | |
"type": "comments" | |
}, | |
{ | |
"id": "155", | |
"type": "comments" | |
}, | |
{ | |
"id": "156", | |
"type": "comments" | |
}, | |
{ | |
"id": "157", | |
"type": "comments" | |
}, | |
{ | |
"id": "158", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "53", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "3", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "118", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "16", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 4, | |
"owner_user_id": 52, | |
"max_rate": 70, | |
"description": "Green juice raw denim deep v +1 lomo messenger bag. Vegan sartorial retro. Post-ironic normcore gentrify.", | |
"job_date": "2016-03-20T21:33:26.034+01:00", | |
"hours": 10, | |
"name": "Charles Fritsch", | |
"created_at": "2016-03-23T21:33:26.125+01:00", | |
"updated_at": "2016-03-23T21:33:26.125+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "132", | |
"type": "comments" | |
}, | |
{ | |
"id": "133", | |
"type": "comments" | |
}, | |
{ | |
"id": "134", | |
"type": "comments" | |
}, | |
{ | |
"id": "135", | |
"type": "comments" | |
}, | |
{ | |
"id": "136", | |
"type": "comments" | |
}, | |
{ | |
"id": "137", | |
"type": "comments" | |
}, | |
{ | |
"id": "138", | |
"type": "comments" | |
}, | |
{ | |
"id": "139", | |
"type": "comments" | |
}, | |
{ | |
"id": "140", | |
"type": "comments" | |
}, | |
{ | |
"id": "141", | |
"type": "comments" | |
}, | |
{ | |
"id": "142", | |
"type": "comments" | |
}, | |
{ | |
"id": "143", | |
"type": "comments" | |
}, | |
{ | |
"id": "144", | |
"type": "comments" | |
}, | |
{ | |
"id": "145", | |
"type": "comments" | |
}, | |
{ | |
"id": "146", | |
"type": "comments" | |
}, | |
{ | |
"id": "147", | |
"type": "comments" | |
}, | |
{ | |
"id": "148", | |
"type": "comments" | |
}, | |
{ | |
"id": "149", | |
"type": "comments" | |
}, | |
{ | |
"id": "150", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "52", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "10", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "4", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "15", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 25, | |
"owner_user_id": 55, | |
"max_rate": 70, | |
"description": "Squid trust fund thundercats letterpress. Sustainable before they sold out food truck 3 wolf moon leggings church-key. Helvetica you probably haven't heard of them truffaut offal seitan wes anderson direct trade fanny pack. Mumblecore vinyl cold-pressed butcher ugh pop-up schlitz.", | |
"job_date": "2016-03-31T21:33:25.927+02:00", | |
"hours": 10, | |
"name": "Karlee Homenick", | |
"created_at": "2016-03-23T21:33:26.011+01:00", | |
"updated_at": "2016-03-23T21:33:26.011+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "127", | |
"type": "comments" | |
}, | |
{ | |
"id": "128", | |
"type": "comments" | |
}, | |
{ | |
"id": "129", | |
"type": "comments" | |
}, | |
{ | |
"id": "130", | |
"type": "comments" | |
}, | |
{ | |
"id": "131", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "55", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "6", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "25", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "14", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 103, | |
"owner_user_id": 53, | |
"max_rate": 80, | |
"description": "Kitsch shabby chic helvetica. Drinking distillery 8-bit. Flannel chia flexitarian selfies celiac tattooed mustache typewriter.", | |
"job_date": "2016-03-21T21:33:25.794+01:00", | |
"hours": 7, | |
"name": "Abigale Crist", | |
"created_at": "2016-03-23T21:33:25.887+01:00", | |
"updated_at": "2016-03-23T21:33:25.887+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "114", | |
"type": "comments" | |
}, | |
{ | |
"id": "115", | |
"type": "comments" | |
}, | |
{ | |
"id": "116", | |
"type": "comments" | |
}, | |
{ | |
"id": "117", | |
"type": "comments" | |
}, | |
{ | |
"id": "118", | |
"type": "comments" | |
}, | |
{ | |
"id": "119", | |
"type": "comments" | |
}, | |
{ | |
"id": "120", | |
"type": "comments" | |
}, | |
{ | |
"id": "121", | |
"type": "comments" | |
}, | |
{ | |
"id": "122", | |
"type": "comments" | |
}, | |
{ | |
"id": "123", | |
"type": "comments" | |
}, | |
{ | |
"id": "124", | |
"type": "comments" | |
}, | |
{ | |
"id": "125", | |
"type": "comments" | |
}, | |
{ | |
"id": "126", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "53", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "3", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "103", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "13", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 69, | |
"owner_user_id": 52, | |
"max_rate": 100, | |
"description": "Actually fingerstache wayfarers meh. Meh pug yuccie schlitz fixie goth. Tofu tacos tote bag bicycle rights schlitz.", | |
"job_date": "2016-03-28T21:33:25.695+02:00", | |
"hours": 5, | |
"name": "Micaela Ward", | |
"created_at": "2016-03-23T21:33:25.775+01:00", | |
"updated_at": "2016-03-23T21:33:25.775+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": null, | |
"zip_longitude": null, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "110", | |
"type": "comments" | |
}, | |
{ | |
"id": "111", | |
"type": "comments" | |
}, | |
{ | |
"id": "112", | |
"type": "comments" | |
}, | |
{ | |
"id": "113", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "52", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "10", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "69", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "12", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 92, | |
"owner_user_id": 55, | |
"max_rate": 100, | |
"description": "Distillery yr forage. Lomo whatever vegan vinegar. Vice ethical letterpress viral crucifix pickled goth. Locavore umami meggings actually cornhole twee pour-over drinking.", | |
"job_date": "2016-03-14T21:33:25.577+01:00", | |
"hours": 6, | |
"name": "Ms. Eileen Kirlin", | |
"created_at": "2016-03-23T21:33:25.666+01:00", | |
"updated_at": "2016-03-23T21:33:25.666+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "104", | |
"type": "comments" | |
}, | |
{ | |
"id": "105", | |
"type": "comments" | |
}, | |
{ | |
"id": "106", | |
"type": "comments" | |
}, | |
{ | |
"id": "107", | |
"type": "comments" | |
}, | |
{ | |
"id": "108", | |
"type": "comments" | |
}, | |
{ | |
"id": "109", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "55", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "6", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "92", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "11", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 129, | |
"owner_user_id": 54, | |
"max_rate": 80, | |
"description": "Gastropub thundercats fap pinterest green juice. Fingerstache lomo chambray microdosing. Bicycle rights humblebrag shabby chic cardigan blue bottle.", | |
"job_date": "2016-03-28T21:33:25.439+02:00", | |
"hours": 4, | |
"name": "Quentin Dietrich V", | |
"created_at": "2016-03-23T21:33:25.520+01:00", | |
"updated_at": "2016-03-23T21:33:25.520+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "84", | |
"type": "comments" | |
}, | |
{ | |
"id": "85", | |
"type": "comments" | |
}, | |
{ | |
"id": "86", | |
"type": "comments" | |
}, | |
{ | |
"id": "87", | |
"type": "comments" | |
}, | |
{ | |
"id": "88", | |
"type": "comments" | |
}, | |
{ | |
"id": "89", | |
"type": "comments" | |
}, | |
{ | |
"id": "90", | |
"type": "comments" | |
}, | |
{ | |
"id": "91", | |
"type": "comments" | |
}, | |
{ | |
"id": "92", | |
"type": "comments" | |
}, | |
{ | |
"id": "93", | |
"type": "comments" | |
}, | |
{ | |
"id": "94", | |
"type": "comments" | |
}, | |
{ | |
"id": "95", | |
"type": "comments" | |
}, | |
{ | |
"id": "96", | |
"type": "comments" | |
}, | |
{ | |
"id": "97", | |
"type": "comments" | |
}, | |
{ | |
"id": "98", | |
"type": "comments" | |
}, | |
{ | |
"id": "99", | |
"type": "comments" | |
}, | |
{ | |
"id": "100", | |
"type": "comments" | |
}, | |
{ | |
"id": "101", | |
"type": "comments" | |
}, | |
{ | |
"id": "102", | |
"type": "comments" | |
}, | |
{ | |
"id": "103", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "54", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "9", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "129", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "10", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 58, | |
"owner_user_id": 55, | |
"max_rate": 80, | |
"description": "Tattooed meggings gentrify truffaut polaroid brooklyn scenester +1. Taxidermy sustainable loko umami. Authentic godard cliche organic cold-pressed normcore goth.", | |
"job_date": "2016-03-19T21:33:25.297+01:00", | |
"hours": 4, | |
"name": "Dr. Karson O'Kon", | |
"created_at": "2016-03-23T21:33:25.413+01:00", | |
"updated_at": "2016-03-23T21:33:25.413+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "78", | |
"type": "comments" | |
}, | |
{ | |
"id": "79", | |
"type": "comments" | |
}, | |
{ | |
"id": "80", | |
"type": "comments" | |
}, | |
{ | |
"id": "81", | |
"type": "comments" | |
}, | |
{ | |
"id": "82", | |
"type": "comments" | |
}, | |
{ | |
"id": "83", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "55", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "6", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "58", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "9", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 103, | |
"owner_user_id": 55, | |
"max_rate": 100, | |
"description": "Flexitarian tattooed chia celiac synth yolo. Direct trade art party lo-fi you probably haven't heard of them. Vegan everyday poutine.", | |
"job_date": "2016-03-15T21:33:25.166+01:00", | |
"hours": 10, | |
"name": "Birdie Erdman Sr.", | |
"created_at": "2016-03-23T21:33:25.254+01:00", | |
"updated_at": "2016-03-23T21:33:25.254+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "66", | |
"type": "comments" | |
}, | |
{ | |
"id": "67", | |
"type": "comments" | |
}, | |
{ | |
"id": "68", | |
"type": "comments" | |
}, | |
{ | |
"id": "69", | |
"type": "comments" | |
}, | |
{ | |
"id": "70", | |
"type": "comments" | |
}, | |
{ | |
"id": "71", | |
"type": "comments" | |
}, | |
{ | |
"id": "72", | |
"type": "comments" | |
}, | |
{ | |
"id": "73", | |
"type": "comments" | |
}, | |
{ | |
"id": "74", | |
"type": "comments" | |
}, | |
{ | |
"id": "75", | |
"type": "comments" | |
}, | |
{ | |
"id": "76", | |
"type": "comments" | |
}, | |
{ | |
"id": "77", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "55", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "6", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "103", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "8", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 177, | |
"owner_user_id": 52, | |
"max_rate": 80, | |
"description": "Pitchfork pork belly farm-to-table quinoa organic distillery meditation. +1 etsy ethical godard pabst everyday kombucha. 8-bit hoodie umami selvage schlitz sartorial vinegar intelligentsia. Marfa freegan pop-up everyday.", | |
"job_date": "2016-04-01T21:33:25.017+02:00", | |
"hours": 8, | |
"name": "Shayna O'Connell", | |
"created_at": "2016-03-23T21:33:25.110+01:00", | |
"updated_at": "2016-03-23T21:33:25.110+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "47", | |
"type": "comments" | |
}, | |
{ | |
"id": "48", | |
"type": "comments" | |
}, | |
{ | |
"id": "49", | |
"type": "comments" | |
}, | |
{ | |
"id": "50", | |
"type": "comments" | |
}, | |
{ | |
"id": "51", | |
"type": "comments" | |
}, | |
{ | |
"id": "52", | |
"type": "comments" | |
}, | |
{ | |
"id": "53", | |
"type": "comments" | |
}, | |
{ | |
"id": "54", | |
"type": "comments" | |
}, | |
{ | |
"id": "55", | |
"type": "comments" | |
}, | |
{ | |
"id": "56", | |
"type": "comments" | |
}, | |
{ | |
"id": "57", | |
"type": "comments" | |
}, | |
{ | |
"id": "58", | |
"type": "comments" | |
}, | |
{ | |
"id": "59", | |
"type": "comments" | |
}, | |
{ | |
"id": "60", | |
"type": "comments" | |
}, | |
{ | |
"id": "61", | |
"type": "comments" | |
}, | |
{ | |
"id": "62", | |
"type": "comments" | |
}, | |
{ | |
"id": "63", | |
"type": "comments" | |
}, | |
{ | |
"id": "64", | |
"type": "comments" | |
}, | |
{ | |
"id": "65", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "52", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "10", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "177", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "7", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 180, | |
"owner_user_id": 54, | |
"max_rate": 80, | |
"description": "Fap viral vhs plaid freegan 3 wolf moon meditation thundercats. Literally readymade ramps. Seitan mumblecore cornhole master cliche. Chillwave art party post-ironic deep v butcher brooklyn occupy.", | |
"job_date": "2016-03-26T21:33:24.886+01:00", | |
"hours": 3, | |
"name": "Arjun Davis", | |
"created_at": "2016-03-23T21:33:24.990+01:00", | |
"updated_at": "2016-03-23T21:33:24.990+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "40", | |
"type": "comments" | |
}, | |
{ | |
"id": "41", | |
"type": "comments" | |
}, | |
{ | |
"id": "42", | |
"type": "comments" | |
}, | |
{ | |
"id": "43", | |
"type": "comments" | |
}, | |
{ | |
"id": "44", | |
"type": "comments" | |
}, | |
{ | |
"id": "45", | |
"type": "comments" | |
}, | |
{ | |
"id": "46", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "54", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "9", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "180", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "6", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 68, | |
"owner_user_id": 56, | |
"max_rate": 100, | |
"description": "Pour-over organic lo-fi celiac 90's offal semiotics cornhole. Loko tattooed narwhal.", | |
"job_date": "2016-03-17T21:33:24.634+01:00", | |
"hours": 5, | |
"name": "Joanny Dickens", | |
"created_at": "2016-03-23T21:33:24.870+01:00", | |
"updated_at": "2016-03-23T21:33:24.870+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "37", | |
"type": "comments" | |
}, | |
{ | |
"id": "38", | |
"type": "comments" | |
}, | |
{ | |
"id": "39", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "56", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "8", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "68", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "5", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 182, | |
"owner_user_id": 55, | |
"max_rate": 100, | |
"description": "Skateboard food truck vice yolo vhs. Retro pinterest thundercats fingerstache bitters small batch.", | |
"job_date": "2016-03-30T21:33:24.495+02:00", | |
"hours": 7, | |
"name": "Leone Raynor PhD", | |
"created_at": "2016-03-23T21:33:24.585+01:00", | |
"updated_at": "2016-03-23T21:33:24.585+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "21", | |
"type": "comments" | |
}, | |
{ | |
"id": "22", | |
"type": "comments" | |
}, | |
{ | |
"id": "23", | |
"type": "comments" | |
}, | |
{ | |
"id": "24", | |
"type": "comments" | |
}, | |
{ | |
"id": "25", | |
"type": "comments" | |
}, | |
{ | |
"id": "26", | |
"type": "comments" | |
}, | |
{ | |
"id": "27", | |
"type": "comments" | |
}, | |
{ | |
"id": "28", | |
"type": "comments" | |
}, | |
{ | |
"id": "29", | |
"type": "comments" | |
}, | |
{ | |
"id": "30", | |
"type": "comments" | |
}, | |
{ | |
"id": "31", | |
"type": "comments" | |
}, | |
{ | |
"id": "32", | |
"type": "comments" | |
}, | |
{ | |
"id": "33", | |
"type": "comments" | |
}, | |
{ | |
"id": "34", | |
"type": "comments" | |
}, | |
{ | |
"id": "35", | |
"type": "comments" | |
}, | |
{ | |
"id": "36", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "55", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "6", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "182", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "4", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 157, | |
"owner_user_id": 53, | |
"max_rate": 70, | |
"description": "Narwhal chicharrones butcher. Microdosing authentic gastropub. Pour-over viral flannel. Wayfarers selfies literally readymade bespoke.", | |
"job_date": "2016-03-18T21:33:24.356+01:00", | |
"hours": 10, | |
"name": "Seamus Schamberger", | |
"created_at": "2016-03-23T21:33:24.456+01:00", | |
"updated_at": "2016-03-23T21:33:24.456+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "11", | |
"type": "comments" | |
}, | |
{ | |
"id": "12", | |
"type": "comments" | |
}, | |
{ | |
"id": "13", | |
"type": "comments" | |
}, | |
{ | |
"id": "14", | |
"type": "comments" | |
}, | |
{ | |
"id": "15", | |
"type": "comments" | |
}, | |
{ | |
"id": "16", | |
"type": "comments" | |
}, | |
{ | |
"id": "17", | |
"type": "comments" | |
}, | |
{ | |
"id": "18", | |
"type": "comments" | |
}, | |
{ | |
"id": "19", | |
"type": "comments" | |
}, | |
{ | |
"id": "20", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "53", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "3", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "157", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "3", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 52, | |
"owner_user_id": 52, | |
"max_rate": 70, | |
"description": "Cronut you probably haven't heard of them mumblecore. Brunch +1 photo booth aesthetic literally meh scenester. Normcore blog mustache. Brooklyn salvia flannel chartreuse shabby chic quinoa.", | |
"job_date": "2016-04-01T21:33:24.241+02:00", | |
"hours": 3, | |
"name": "Rosalinda Jones", | |
"created_at": "2016-03-23T21:33:24.338+01:00", | |
"updated_at": "2016-03-23T21:33:24.338+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "8", | |
"type": "comments" | |
}, | |
{ | |
"id": "9", | |
"type": "comments" | |
}, | |
{ | |
"id": "10", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "52", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "10", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "52", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "2", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 131, | |
"owner_user_id": 52, | |
"max_rate": 100, | |
"description": "Art party bushwick fanny pack vinegar meditation stumptown diy health. Williamsburg ramps church-key pitchfork synth brunch distillery twee. Iphone green juice microdosing master church-key.", | |
"job_date": "2016-04-02T21:33:24.132+02:00", | |
"hours": 5, | |
"name": "Theron Rowe", | |
"created_at": "2016-03-23T21:33:24.222+01:00", | |
"updated_at": "2016-03-23T21:33:24.222+01:00", | |
"street": "Wollmar Yxkullsgatan 31", | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "5", | |
"type": "comments" | |
}, | |
{ | |
"id": "6", | |
"type": "comments" | |
}, | |
{ | |
"id": "7", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "52", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "10", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "131", | |
"type": "languages" | |
} | |
} | |
} | |
}, | |
{ | |
"id": "1", | |
"type": "jobs", | |
"attributes": { | |
"language_id": 17, | |
"owner_user_id": 55, | |
"max_rate": 100, | |
"description": "Pug post-ironic intelligentsia narwhal. Sartorial wayfarers master cronut sustainable mlkshk flexitarian pour-over. Freegan squid taxidermy ennui 3 wolf moon polaroid chia iphone.", | |
"job_date": "2016-03-19T21:33:23.962+01:00", | |
"hours": 10, | |
"name": "Clay Feil II", | |
"created_at": "2016-03-23T21:33:24.080+01:00", | |
"updated_at": "2016-03-23T21:33:24.080+01:00", | |
"street": "Stora Nygatan 14", | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594, | |
"hidden": false | |
}, | |
"relationships": { | |
"applicants": { | |
"data": [] | |
}, | |
"comments": { | |
"data": [ | |
{ | |
"id": "1", | |
"type": "comments" | |
}, | |
{ | |
"id": "2", | |
"type": "comments" | |
}, | |
{ | |
"id": "3", | |
"type": "comments" | |
}, | |
{ | |
"id": "4", | |
"type": "comments" | |
} | |
] | |
}, | |
"owner": { | |
"data": { | |
"id": "55", | |
"type": "users" | |
} | |
}, | |
"company": { | |
"data": { | |
"id": "6", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "17", | |
"type": "languages" | |
} | |
} | |
} | |
} | |
], | |
"included": [ | |
{ | |
"id": "1", | |
"type": "users", | |
"attributes": { | |
"first_name": "Marquise", | |
"description": "Kogi paleo yuccie. Pour-over swag deep v meggings seitan art party.", | |
"job_experience": null, | |
"education": null, | |
"language_id": 37, | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594 | |
}, | |
"relationships": { | |
"company": { | |
"data": { | |
"id": "1", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "37", | |
"type": "languages" | |
} | |
}, | |
"languages": { | |
"data": [] | |
} | |
} | |
}, | |
{ | |
"id": "1", | |
"type": "companies", | |
"attributes": { | |
"name": "Gorczany-Ondricka" | |
} | |
}, | |
{ | |
"id": "1", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "aa" | |
} | |
}, | |
{ | |
"id": "55", | |
"type": "users", | |
"attributes": { | |
"first_name": "Joaquin", | |
"description": "Organic chambray pinterest sriracha. Aesthetic drinking before they sold out hoodie sustainable polaroid actually.", | |
"job_experience": null, | |
"education": null, | |
"language_id": 37, | |
"zip": "21137", | |
"zip_latitude": 55.6026877, | |
"zip_longitude": 12.9977594 | |
}, | |
"relationships": { | |
"company": { | |
"data": { | |
"id": "6", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "37", | |
"type": "languages" | |
} | |
}, | |
"languages": { | |
"data": [] | |
} | |
} | |
}, | |
{ | |
"id": "6", | |
"type": "companies", | |
"attributes": { | |
"name": "Spencer Inc" | |
} | |
}, | |
{ | |
"id": "151", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "sr" | |
} | |
}, | |
{ | |
"id": "73", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "iu" | |
} | |
}, | |
{ | |
"id": "187", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "zh" | |
} | |
}, | |
{ | |
"id": "52", | |
"type": "users", | |
"attributes": { | |
"first_name": "Darwin", | |
"description": "Migas crucifix portland seitan synth. Heirloom yr cleanse cold-pressed actually craft beer cronut. Cleanse pug heirloom bushwick swag chillwave offal. Brooklyn echo pinterest.", | |
"job_experience": null, | |
"education": null, | |
"language_id": 37, | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482 | |
}, | |
"relationships": { | |
"company": { | |
"data": { | |
"id": "10", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "37", | |
"type": "languages" | |
} | |
}, | |
"languages": { | |
"data": [] | |
} | |
} | |
}, | |
{ | |
"id": "10", | |
"type": "companies", | |
"attributes": { | |
"name": "Grimes Group" | |
} | |
}, | |
{ | |
"id": "138", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "sa" | |
} | |
}, | |
{ | |
"id": "54", | |
"type": "users", | |
"attributes": { | |
"first_name": "Cletus", | |
"description": "3 wolf moon pitchfork asymmetrical banh mi vegan synth distillery. Single-origin coffee aesthetic diy fixie.", | |
"job_experience": null, | |
"education": null, | |
"language_id": 37, | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482 | |
}, | |
"relationships": { | |
"company": { | |
"data": { | |
"id": "9", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "37", | |
"type": "languages" | |
} | |
}, | |
"languages": { | |
"data": [] | |
} | |
} | |
}, | |
{ | |
"id": "9", | |
"type": "companies", | |
"attributes": { | |
"name": "Wolf, Schiller and Hodkiewicz" | |
} | |
}, | |
{ | |
"id": "11", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "az" | |
} | |
}, | |
{ | |
"id": "56", | |
"type": "users", | |
"attributes": { | |
"first_name": "Reinhold", | |
"description": "Taxidermy humblebrag diy occupy franzen kickstarter gentrify cred. Letterpress food truck scenester cornhole truffaut godard migas poutine.", | |
"job_experience": null, | |
"education": null, | |
"language_id": 37, | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482 | |
}, | |
"relationships": { | |
"company": { | |
"data": { | |
"id": "8", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "37", | |
"type": "languages" | |
} | |
}, | |
"languages": { | |
"data": [] | |
} | |
} | |
}, | |
{ | |
"id": "8", | |
"type": "companies", | |
"attributes": { | |
"name": "Greenfelder, Langosh and Altenwerth" | |
} | |
}, | |
{ | |
"id": "155", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "sv" | |
} | |
}, | |
{ | |
"id": "88", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "kv" | |
} | |
}, | |
{ | |
"id": "145", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "sk" | |
} | |
}, | |
{ | |
"id": "180", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "wa" | |
} | |
}, | |
{ | |
"id": "89", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "kw" | |
} | |
}, | |
{ | |
"id": "143", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "sh" | |
} | |
}, | |
{ | |
"id": "83", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "kn" | |
} | |
}, | |
{ | |
"id": "53", | |
"type": "users", | |
"attributes": { | |
"first_name": "Aaron", | |
"description": "Artisan tilde dreamcatcher. Butcher keytar tousled truffaut biodiesel.", | |
"job_experience": null, | |
"education": null, | |
"language_id": 37, | |
"zip": "11850", | |
"zip_latitude": 59.3164285, | |
"zip_longitude": 18.0590482 | |
}, | |
"relationships": { | |
"company": { | |
"data": { | |
"id": "3", | |
"type": "companies" | |
} | |
}, | |
"language": { | |
"data": { | |
"id": "37", | |
"type": "languages" | |
} | |
}, | |
"languages": { | |
"data": [] | |
} | |
} | |
}, | |
{ | |
"id": "3", | |
"type": "companies", | |
"attributes": { | |
"name": "Becker, Eichmann and Nitzsche" | |
} | |
}, | |
{ | |
"id": "118", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "nr" | |
} | |
}, | |
{ | |
"id": "4", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "ak" | |
} | |
}, | |
{ | |
"id": "25", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "ch" | |
} | |
}, | |
{ | |
"id": "103", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "ml" | |
} | |
}, | |
{ | |
"id": "69", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "ik" | |
} | |
}, | |
{ | |
"id": "92", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "lb" | |
} | |
}, | |
{ | |
"id": "129", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "pl" | |
} | |
}, | |
{ | |
"id": "58", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "ho" | |
} | |
}, | |
{ | |
"id": "177", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "ve" | |
} | |
}, | |
{ | |
"id": "68", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "ii" | |
} | |
}, | |
{ | |
"id": "182", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "xal" | |
} | |
}, | |
{ | |
"id": "157", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "ta" | |
} | |
}, | |
{ | |
"id": "52", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "gn" | |
} | |
}, | |
{ | |
"id": "131", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "pt" | |
} | |
}, | |
{ | |
"id": "17", | |
"type": "languages", | |
"attributes": { | |
"lang_code": "bm" | |
} | |
} | |
], | |
"links": {} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "test-client", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"license": "MIT", | |
"dependencies": { | |
"jsonapi-datastore": "*" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment