json-api/json-api — pull request #114 by spastorino (2013-05-30 23:51:49+00:00)
Title: json based spec for implementors to use

**NOTE: THIS IS WORK IN PROGRESS.**

I'm sending this mostly for you guys to review.
I'm implementing json-api in https://github.com/rails-api/active_model_serializers

Still not sure about many things but I guess it's better to start discussing from this point better than waiting to have a perfect thing.

The idea is to provide json files for implementors to load them, there you have the use cases and you can build tests from there.
Again these files lacks of a lot of use cases, but anyway provide all the feedback you can.

Three files are provided:

1) fixtures.json

Defines the data that servers must load to test reading and updating.

2) read.json

Provides reading use cases.
Each use case is composed of config, expectedRequest and expectedResponse
config defines which fixture should be used, and other server settings
like if the server ask for client-ids, uses url based style and/or
compounds related objects.

3) write.json

Similar to read.json

Let me know your thoughts.

:heart: :heart: :heart: