Skip to content

Commit 86b5803

Browse files
committed
regenerate schema
1 parent 5f88344 commit 86b5803

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

schemas.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
package spaceapiValidator
22

33
// CommitHash contains the hash of the commit the Validate function validates against
4-
var CommitHash = "a58a6ba2057c73cda2b886f5ac257c463a181ee8"
4+
var CommitHash = "85008147fdd12809bff3b23291d6b5ea5f6e8b9d"
55

66
// SpaceApiSchemas load from the repository as a map
77
var SpaceApiSchemas = map[string]string{
88
"11": `{
9+
"$schema": "http://json-schema.org/draft-06/schema#",
910
"description": "SpaceAPI 0.11",
1011
"type": "object",
1112
"properties": {
@@ -164,6 +165,7 @@ var SpaceApiSchemas = map[string]string{
164165
]
165166
}`,
166167
"12": `{
168+
"$schema": "http://json-schema.org/draft-06/schema#",
167169
"description": "SpaceAPI 0.12",
168170
"type": "object",
169171
"properties": {
@@ -360,6 +362,7 @@ var SpaceApiSchemas = map[string]string{
360362
]
361363
}`,
362364
"13": `{
365+
"$schema": "http://json-schema.org/draft-06/schema#",
363366
"description": "SpaceAPI 0.13",
364367
"type": "object",
365368
"properties": {
@@ -1505,6 +1508,7 @@ var SpaceApiSchemas = map[string]string{
15051508
]
15061509
}`,
15071510
"14": `{
1511+
"$schema": "http://json-schema.org/draft-06/schema#",
15081512
"description": "SpaceAPI 0.14",
15091513
"type": "object",
15101514
"properties": {
@@ -2696,6 +2700,7 @@ var SpaceApiSchemas = map[string]string{
26962700
}
26972701
`,
26982702
"8": `{
2703+
"$schema": "http://json-schema.org/draft-06/schema#",
26992704
"description": "SpaceAPI 0.8",
27002705
"type": "object",
27012706
"properties": {
@@ -2797,6 +2802,7 @@ var SpaceApiSchemas = map[string]string{
27972802
]
27982803
}`,
27992804
"9": `{
2805+
"$schema": "http://json-schema.org/draft-06/schema#",
28002806
"description": "SpaceAPI 0.9",
28012807
"type": "object",
28022808
"properties": {

0 commit comments

Comments
 (0)