Simple 2.0 spec example

Here is a first example of the proposed 2.0 spec for comment
This should go under the DRY principles we live by. I agree.

- Stephen

> On Jun 7, 2014, at 5:26 AM, juliengomes <notifications@github.com> wrote:
> 
> In samples/v2.0/json/01-sample.json:
> 
> > +      "required": [
> > +        "code",
> > +        "message"
> > +      ],
> > +      "properties": {
> > +        "code": {
> > +          "type": "integer",
> > +          "format": "int32"
> > +        },
> > +        "message": {
> > +          "type": "string"
> > +        }
> > +      }
> > +    }
> > +  }
> > +}
> I think it would be interesting to have the possibility to include file. For instance in you have an internal and an external API that shares the same model, that would prevent to write the model twice.
> 
> —
> Reply to this email directly or view it on GitHub.