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
c55feb7d
Commit
c55feb7d
authored
May 12, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_jio: Add Sample for objects types
parent
41cbe596
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
0 deletions
+56
-0
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/simpledemo/instance-input-json-in-xml-schema.json.json
...ma/simpledemo/instance-input-json-in-xml-schema.json.json
+56
-0
No files found.
master/bt5/slapos_jio/SkinTemplateItem/portal_skins/slapos_hal_json_style/sample-software-schema/simpledemo/instance-input-json-in-xml-schema.json.json
View file @
c55feb7d
...
...
@@ -26,6 +26,62 @@
"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