Skip to content

Commit 6c30c57

Browse files
authored
Add files via upload
1 parent 4ed0dd7 commit 6c30c57

2 files changed

Lines changed: 64 additions & 2 deletions

File tree

docs/schema/car.schema

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ vDataJSON["car"] = {
2323
2000,2001,2002,2003,2004,
2424
2005,2006,2007,2008,2009,
2525
2010,2011,2012,2013,2014,
26-
2015,2016,2017
26+
2015,2016,2017,2018,2019,
27+
2020,2021,2022,2023,2024,
28+
2025,2026,2027,2028,2029
2729
],
28-
"default": 2008
30+
"default": 2020
2931
},
3032
"comment" : {
3133
"type":"string",

docs/schema/jsoninput_schema.js

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
vDataJSON.schema.jsoninput = {
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"additionalProperties": true,
4+
"title": "Input JSON for Schema Generation",
5+
"definitions": {
6+
"comment": {
7+
"title": "Comment:",
8+
"type": "string",
9+
"format": "textarea",
10+
"default": ""
11+
},
12+
"yesno": {
13+
"default": "yes",
14+
"type": "string",
15+
"enum": [
16+
"yes",
17+
"no"
18+
]
19+
}
20+
},
21+
"type": "object",
22+
"id": "https://niebert.github.io/json-editor",
23+
"options": {
24+
"disable_collapse": true,
25+
"disable_edit_json": true,
26+
"disable_properties": true,
27+
"collapsed": false,
28+
"hidden": false
29+
},
30+
"defaultProperties": [
31+
"schematitle",
32+
"jsoninput"
33+
],
34+
"properties": {
35+
"schematitle": {
36+
"type": "string",
37+
"id": "/properties/schematitle",
38+
"title": "Title for Schema",
39+
"default": "",
40+
"format": "text",
41+
"description": "Description for 'schematitle' Type: 'string' Path: '/properties/schematitle'",
42+
"options": {
43+
"hidden": false
44+
},
45+
"propertyOrder": 10
46+
},
47+
"jsoninput": {
48+
"type": "string",
49+
"id": "/properties/jsoninput",
50+
"title": "JSON Input",
51+
"default": "",
52+
"format": "json",
53+
"description": "Replace the input above with your JSON input. The JSON input will be used for the generation of the JSON Schema",
54+
"options": {
55+
"hidden": false
56+
},
57+
"propertyOrder": 20
58+
}
59+
}
60+
}

0 commit comments

Comments
 (0)