We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When creating a new DB, Victor would like to specify a database schema. Including:
a) description b) JSON Schema
In this case, we should save a new document (schema) into the database.
{ "description" : "favorite songs" , "json_schema" : <JSON_SCHEMA> }
Neither description nor schema are mandatory.
Take a look at: https://github.com/travelping/jesse
Sample:
{ "$schema": "http://json-schema.org/draft-03/schema", "id": "http://jsonschema.net", "required": false, "type": "object" , "properties": { [-] "album" : { "id": "http://jsonschema.net/album", "required": false, "type": "string" }, [-] "author" : { "id": "http://jsonschema.net/author", "required": false, "type": "string" }, [-] "title" : { "id": "http://jsonschema.net/title", "required": false, "type": "string" }, [-] "year" : { "id": "http://jsonschema.net/year", "required": false, "type": "string" } } }
The text was updated successfully, but these errors were encountered:
Actually, the schema should persist in the meta database
Sorry, something went wrong.
ninovasc
No branches or pull requests
When creating a new DB, Victor would like to specify a database schema. Including:
a) description
b) JSON Schema
In this case, we should save a new document (schema) into the database.
{
"description" : "favorite songs" ,
"json_schema" : <JSON_SCHEMA>
}
Neither description nor schema are mandatory.
Take a look at: https://github.com/travelping/jesse
Sample:
{
"$schema": "http://json-schema.org/draft-03/schema",
"id": "http://jsonschema.net",
"required": false,
"type": "object" ,
"properties": {
[-] "album" : {
"id": "http://jsonschema.net/album",
"required": false,
"type": "string"
},
[-] "author" : {
"id": "http://jsonschema.net/author",
"required": false,
"type": "string"
},
[-] "title" : {
"id": "http://jsonschema.net/title",
"required": false,
"type": "string"
},
[-] "year" : {
"id": "http://jsonschema.net/year",
"required": false,
"type": "string"
}
}
}
The text was updated successfully, but these errors were encountered: