| { | |
| "definitions": { | |
| "Book": { | |
| "type": "object", | |
| "id": "x-sampleone-book", | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "properties": { | |
| "code": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "message": { | |
| "type": "integer" | |
| } | |
| } | |
| }, | |
| "Shelf": { | |
| "type": "object", | |
| "id": "x-sampleone-shelf", | |
| "required": [ | |
| "foo1", | |
| "bar" | |
| ], | |
| "properties": { | |
| "foo1": { | |
| "type": "integer", | |
| "format": "int32" | |
| }, | |
| "bar": { | |
| "type": "integer" | |
| } | |
| } | |
| }, | |
| "PrimitiveString": { | |
| "type": "string", | |
| "id": "x-sampleone-mysimplestring" | |
| }, | |
| "PrimitiveNumber": { | |
| "type": "number", | |
| "id": "x-sampleone-mysimplenumber" | |
| }, | |
| "PrimitiveBoolean": { | |
| "type": "boolean", | |
| "id": "x-sampleone-mysimpleboolean" | |
| }, | |
| "PrimitiveInt64": { | |
| "type": "integer", | |
| "id": "x-sampleone-mysimpleint64" | |
| } | |
| } | |
| } |