spec/fixtures/client.json in json_schema_tools-0.2.6 vs spec/fixtures/client.json in json_schema_tools-0.3.0
- old
+ new
@@ -61,10 +61,15 @@
"type":"number"
},
"addresses":{
"description": "A client can have many addresses, sorted by date descending(new first). Default address is the most recent one.",
"type":"array",
- "properties" : {"$ref":"./address.json#properties"}
+ "items" : {
+ "type" : "object",
+ "properties":{
+ "$ref":"./address.json#properties"
+ }
+ }
},
"work_address":{
"description": "The work address as an example for a single nested/related object",
"type":"object",
"properties" : {"$ref":"./address.json#properties"}
\ No newline at end of file