| // This test tests the conversion and ordering of definitions. |
| "$schema": "http://json-schema.org/draft-07/schema#", |
| "$id": "http://cuelang.org/go/encoding/openapi/testdata/order.json", |
| "street_address": { "type": "string" }, |
| "city": { "type": "string" }, |
| "state": { "type": "string" } |
| "required": ["street_address", "city", "state"] |
| "name": { "type": "string" }, |
| "items": { "$ref": "#/definitions/person" }, |
| "person": { "$ref": "#/definitions/person" }, |
| "billing_address": { "$ref": "#/definitions/address" }, |
| "shipping_address": { "$ref": "#/definitions/address" } |
| Schema :: _ @jsonschema(schema="http://json-schema.org/draft-07/schema#",id="http://cuelang.org/go/encoding/openapi/testdata/order.json") |
| billing_address?: def.address |
| shipping_address?: def.address |
| children?: [...def.person] |