Created
January 25, 2016 22:27
-
-
Save grechaw/e92e67aeceaffbc351c8 to your computer and use it in GitHub Desktop.
Example of JSON entity type.
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
{ | |
"info": { | |
"title": "Person", | |
"version": "0.0.2" | |
}, | |
"definitions": { | |
"Person": { | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"firstName": { | |
"type": "string" | |
}, | |
"lastName": { | |
"type": "string" | |
}, | |
"fullName": { | |
"type": "string" | |
}, | |
"address": { | |
"type": "string" | |
}, | |
"friendOf": { | |
"$ref": "#/definitions" | |
} | |
}, | |
"primary-key":["id"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment