changed to pure json schema
Update 04-models-with-subtypes.json
Update 04-models-with-subtypes.json

Showing examples of using both json-schema validation and the an 'extends' keyword extension to define swagger model inheritance. In theory all the pets should get a UI display with a merge of their properties and the name property from Pet. I suggest we expand on the previous behaviour of swagger to also include attributes from the allOf in visualizations to avoid unnecessary repetition purely for swagger UI.
Merge pull request #2 from paulhill/patch-2

Update 04-models-with-subtypes.json
Update 04-models-with-subtypes.json

functionality of extends is duplicate of allOf
Merge pull request #3 from paulhill/patch-3

Update 04-models-with-subtypes.json
Update 04-models-with-subtypes.json
added more compact sample
fixed sample
Merge pull request #18 from fehguy/master

added json-schema based compositin examples