Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos.core
Commits
d81fed78
Commit
d81fed78
authored
Oct 19, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: Update meta schemas to draft7
parent
fc90cdb6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
73 additions
and
56 deletions
+73
-56
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_slapos_load_meta_schema_json.txt
...Item/web_page_module/rjs_slapos_load_meta_schema_json.txt
+67
-50
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_slapos_load_meta_schema_json.xml
...Item/web_page_module/rjs_slapos_load_meta_schema_json.xml
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_slapos_load_software_schema_json.txt
.../web_page_module/rjs_slapos_load_software_schema_json.txt
+2
-2
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_slapos_load_software_schema_json.xml
.../web_page_module/rjs_slapos_load_software_schema_json.xml
+2
-2
No files found.
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_slapos_load_meta_schema_json.txt
View file @
d81fed78
{
{
"id": "http://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Core schema meta-schema",
"description": "Core schema meta-schema",
"definitions": {
"definitions": {
"schemaArray": {
"schemaArray": {
"type": "array",
"type": "array",
"minItems": 1,
"minItems": 1,
"items": { "$ref": "#" }
"items": { "$ref": "#" }
},
},
"
posi
tiveInteger": {
"
nonNega
tiveInteger": {
"type": "integer",
"type": "integer",
"minimum": 0
"minimum": 0
},
},
"positiveIntegerDefault0": {
"nonNegativeIntegerDefault0": {
"allOf": [ { "$ref": "#/definitions/positiveInteger" }, { "default": 0 } ]
"allOf": [
{ "$ref": "#/definitions/nonNegativeInteger" },
{ "default": 0 }
]
},
},
"simpleTypes": {
"simpleTypes": {
"enum": [ "array", "boolean", "integer", "null", "number", "object", "string" ]
"enum": [
"array",
"boolean",
"integer",
"null",
"number",
"object",
"string"
]
},
},
"stringArray": {
"stringArray": {
"type": "array",
"type": "array",
"items": { "type": "string" },
"items": { "type": "string" },
"
minItems": 1
,
"
uniqueItems": true
,
"
uniqueItems": true
"
default": []
}
}
},
},
"type":
"object"
,
"type":
["object", "boolean"]
,
"properties": {
"properties": {
"id": {
"$id": {
"type": "string",
"type": "string"
"format": "uri"
},
},
"$schema": {
"$schema": {
"type": "string",
"type": "string"
"format": "uri"
},
"$ref": {
"type": "string"
},
"$comment": {
"type": "string"
},
},
"title": {
"title": {
"type": "string"
"type": "string"
...
@@ -41,62 +55,59 @@
...
@@ -41,62 +55,59 @@
"description": {
"description": {
"type": "string"
"type": "string"
},
},
"default": {},
"default": true,
"readOnly": {
"type": "boolean",
"default": false
},
"writeOnly": {
"type": "boolean",
"default": false
},
"examples": {
"type": "array",
"items": true
},
"multipleOf": {
"multipleOf": {
"type": "number",
"type": "number",
"minimum": 0,
"exclusiveMinimum": 0
"exclusiveMinimum": true
},
},
"maximum": {
"maximum": {
"type": "number"
"type": "number"
},
},
"exclusiveMaximum": {
"exclusiveMaximum": {
"type": "boolean",
"type": "number"
"default": false
},
},
"minimum": {
"minimum": {
"type": "number"
"type": "number"
},
},
"exclusiveMinimum": {
"exclusiveMinimum": {
"type": "boolean",
"type": "number"
"default": false
},
},
"maxLength": { "$ref": "#/definitions/
posi
tiveInteger" },
"maxLength": { "$ref": "#/definitions/
nonNega
tiveInteger" },
"minLength": { "$ref": "#/definitions/
posi
tiveIntegerDefault0" },
"minLength": { "$ref": "#/definitions/
nonNega
tiveIntegerDefault0" },
"pattern": {
"pattern": {
"type": "string",
"type": "string"
"format": "regex"
},
"additionalItems": {
"anyOf": [
{ "type": "boolean" },
{ "$ref": "#" }
],
"default": {}
},
},
"additionalItems": { "$ref": "#" },
"items": {
"items": {
"anyOf": [
"anyOf": [
{ "$ref": "#" },
{ "$ref": "#" },
{ "$ref": "#/definitions/schemaArray" }
{ "$ref": "#/definitions/schemaArray" }
],
],
"default":
{}
"default":
true
},
},
"maxItems": { "$ref": "#/definitions/
posi
tiveInteger" },
"maxItems": { "$ref": "#/definitions/
nonNega
tiveInteger" },
"minItems": { "$ref": "#/definitions/
posi
tiveIntegerDefault0" },
"minItems": { "$ref": "#/definitions/
nonNega
tiveIntegerDefault0" },
"uniqueItems": {
"uniqueItems": {
"type": "boolean",
"type": "boolean",
"default": false
"default": false
},
},
"maxProperties": { "$ref": "#/definitions/positiveInteger" },
"contains": { "$ref": "#" },
"minProperties": { "$ref": "#/definitions/positiveIntegerDefault0" },
"maxProperties": { "$ref": "#/definitions/nonNegativeInteger" },
"minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
"required": { "$ref": "#/definitions/stringArray" },
"required": { "$ref": "#/definitions/stringArray" },
"additionalProperties": {
"additionalProperties": { "$ref": "#" },
"anyOf": [
{ "type": "boolean" },
{ "$ref": "#" }
],
"default": {}
},
"definitions": {
"definitions": {
"type": "object",
"type": "object",
"additionalProperties": { "$ref": "#" },
"additionalProperties": { "$ref": "#" },
...
@@ -110,6 +121,7 @@
...
@@ -110,6 +121,7 @@
"patternProperties": {
"patternProperties": {
"type": "object",
"type": "object",
"additionalProperties": { "$ref": "#" },
"additionalProperties": { "$ref": "#" },
"propertyNames": {},
"default": {}
"default": {}
},
},
"dependencies": {
"dependencies": {
...
@@ -121,8 +133,11 @@
...
@@ -121,8 +133,11 @@
]
]
}
}
},
},
"propertyNames": { "$ref": "#" },
"const": true,
"enum": {
"enum": {
"type": "array",
"type": "array",
"items": true,
"minItems": 1,
"minItems": 1,
"uniqueItems": true
"uniqueItems": true
},
},
...
@@ -137,14 +152,16 @@
...
@@ -137,14 +152,16 @@
}
}
]
]
},
},
"format": { "type": "string" },
"contentMediaType": { "type": "string" },
"contentEncoding": { "type": "string" },
"if": { "$ref": "#" },
"then": { "$ref": "#" },
"else": { "$ref": "#" },
"allOf": { "$ref": "#/definitions/schemaArray" },
"allOf": { "$ref": "#/definitions/schemaArray" },
"anyOf": { "$ref": "#/definitions/schemaArray" },
"anyOf": { "$ref": "#/definitions/schemaArray" },
"oneOf": { "$ref": "#/definitions/schemaArray" },
"oneOf": { "$ref": "#/definitions/schemaArray" },
"not": { "$ref": "#" }
"not": { "$ref": "#" }
},
},
"dependencies": {
"default": true
"exclusiveMaximum": [ "maximum" ],
"exclusiveMinimum": [ "minimum" ]
},
"default": {}
}
}
\ No newline at end of file
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_slapos_load_meta_schema_json.xml
View file @
d81fed78
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
999.27453.45440.44629
</string>
</value>
<value>
<string>
1003.46346.29825.45516
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -258,7 +258,7 @@
...
@@ -258,7 +258,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
49434525.63
</float>
<float>
16
66036519.04
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_slapos_load_software_schema_json.txt
View file @
d81fed78
{
{
"$schema": "http://json-schema.org/draft-0
4
/schema#",
"$schema": "http://json-schema.org/draft-0
7
/schema#",
"description": "Slapos Software Release instantiation descriptor",
"description": "Slapos Software Release instantiation descriptor",
"additionalProperties": false,
"additionalProperties": false,
"required": [
"required": [
...
...
master/bt5/slapos_jio/PathTemplateItem/web_page_module/rjs_slapos_load_software_schema_json.xml
View file @
d81fed78
...
@@ -239,7 +239,7 @@ https://lab.nexedi.com/nexedi/slapos/raw/master/schema.json#</string> </value>
...
@@ -239,7 +239,7 @@ https://lab.nexedi.com/nexedi/slapos/raw/master/schema.json#</string> </value>
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
999.32250.5458.58606
</string>
</value>
<value>
<string>
1003.46353.55894.19370
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -257,7 +257,7 @@ https://lab.nexedi.com/nexedi/slapos/raw/master/schema.json#</string> </value>
...
@@ -257,7 +257,7 @@ https://lab.nexedi.com/nexedi/slapos/raw/master/schema.json#</string> </value>
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
16
49721266.53
</float>
<float>
16
66036947.97
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment