Comments (2)
I had to modify the schema a bit to point the refs correctly.
{
"$id": "https://example.com/schemas/customer",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"first_name": { "type": "string" },
"last_name": { "type": "string" },
"shipping_address": { "$ref": "#/$defs/address" },
"billing_address": { "$ref": "#/$defs/address" }
},
"required": ["first_name", "last_name", "shipping_address", "billing_address"],
"$defs": {
"address": {
"$id": "/schemas/address",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"street_address": { "type": "string" },
"city": { "type": "string" },
"state": { "$ref": "#/$defs/definitions/state" }
},
"required": ["street_address", "city", "state"]
},
"definitions": {
"state": { "enum": ["CA", "NY", "... etc ..."] }
}
}
}
from cli.
v0.0.32
from cli.
Related Issues (20)
- begin logs output
- Investigate / implement binary compression HOT 1
- `begin gen api -p /` should work HOT 2
- mutate-arc utility puts new item on the end of the previous line HOT 1
- Make it easier to get your access token from the CLI
- `begin dev` fails when using Node 16 via node version managers (nvm, fnm…) HOT 1
- CRUD GET handler truncates results
- Using `Pages` as a model name in the CRUD scaffolder causes a syntax error in the generated code HOT 1
- Cannot create numeric value environment variable. HOT 1
- Can't set URL like string as environment variable HOT 1
- Environment variables starting with `BEGIN_` should not pass validation HOT 2
- Audit color + formatting output for consistency and contrast HOT 1
- show region in the list HOT 2
- Sort regions list HOT 2
- ESM plugins do not work with begin dev HOT 10
- chmod on Windows using git bash fails during install HOT 3
- Alias domain to domains
- Improve `begin domains list` HOT 2
- begin domains list command fails if there is an esm plugin in the project HOT 4
- begin deploy output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.