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
8393d3c4
Commit
8393d3c4
authored
Oct 25, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: (sample) Add objects types on sample files
parent
59b5ce6b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
78 additions
and
4 deletions
+78
-4
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/minimal_json_in_xml_demo/instance-input-schema.json.json
.../minimal_json_in_xml_demo/instance-input-schema.json.json
+78
-4
No files found.
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/minimal_json_in_xml_demo/instance-input-schema.json.json
View file @
8393d3c4
...
...
@@ -94,6 +94,80 @@
1.25
,
1.5
]
},
"simple-array-of-string"
:
{
"title"
:
"Example of Simple array of String"
,
"description"
:
"Example of Array of String"
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
}
},
"simple-array-of-integer"
:
{
"title"
:
"Example of Simple array of Integer"
,
"description"
:
"Example of Array of Interger"
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"integer"
}
},
"simple-array-of-number"
:
{
"title"
:
"Example of Simple array of Numbers"
,
"description"
:
"Example of Array of Numbers"
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"number"
}
},
"simple-object"
:
{
"title"
:
"Example of Single Object"
,
"description"
:
"Example of Single Object"
,
"type"
:
"object"
,
"properties"
:
{
"sample-object-string"
:
{
"title"
:
"Example of Simple String on an object"
,
"description"
:
"Example of Simple String"
,
"type"
:
"string"
,
"default"
:
"Simple string "
},
"simple-object-with-integer"
:
{
"title"
:
"Example of Simple Integer"
,
"description"
:
"Example of Simple Integer"
,
"type"
:
"integer"
,
"default"
:
1
},
"simple-object-with-integer-with-enum"
:
{
"title"
:
"Example of Simple Integer with enum"
,
"description"
:
"Example of Simple Integer with enum"
,
"type"
:
"integer"
,
"default"
:
1
,
"enum"
:
[
1
,
2
]
}
}
},
"simple-object-dict"
:
{
"title"
:
"Example of multi objects as a Dict"
,
"description"
:
"Example of multi objects as a Dict"
,
"type"
:
"object"
,
"patternProperties"
:
{
".*"
:
{
"properties"
:
{
"simple-object-dict-string-example"
:
{
"title"
:
"Example of the String as part of Object"
,
"description"
:
"Example of the String as part of Object"
,
"type"
:
"string"
,
"default"
:
""
},
"simple-object-dict-string-with-enum"
:
{
"title"
:
"Example of the String as part of Object with Enum"
,
"description"
:
"Example of the String as part of Object with Enum"
,
"type"
:
"string"
,
"default"
:
"String Sample A"
,
"enum"
:
[
"String Sample A"
,
"String Sample B"
]
}
}
}
}
}
}
}
...
...
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