Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
testing-slapos-schemas
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
Rafael Monnerat
testing-slapos-schemas
Commits
f08be7d5
Commit
f08be7d5
authored
May 05, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simpledemo: Add simple sample schema with some testing fields
parent
8ba3167f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
0 deletions
+81
-0
software/simpledemo/instance-input-schema.json
software/simpledemo/instance-input-schema.json
+64
-0
software/simpledemo/software.cfg
software/simpledemo/software.cfg
+1
-0
software/simpledemo/software.cfg.json
software/simpledemo/software.cfg.json
+16
-0
No files found.
software/simpledemo/instance-input-schema.json
0 → 100644
View file @
f08be7d5
{
"$schema"
:
"http://json-schema.org/draft-04/schema#"
,
"type"
:
"object"
,
"description"
:
"Sample paremeters for a Simple Demo"
,
"additionalProperties"
:
false
,
"properties"
:
{
"simple-string"
:
{
"title"
:
"Example of Simple String"
,
"description"
:
"Example of Simple String"
,
"type"
:
"string"
,
"default"
:
"Simple string "
},
"simple-string-with-enum"
:
{
"title"
:
"Example of Simple String with enum"
,
"description"
:
"Example of Simple String with enum"
,
"type"
:
"string"
,
"enum"
:
[
"simple string A"
,
"simple string B"
,
"simple string C"
],
"default"
:
"simple string A"
},
"simple-string-textarea"
:
{
"title"
:
"Example of Simple String with TextArea"
,
"description"
:
"Example of Simple String with TextArea"
,
"type"
:
"string"
,
"textarea"
:
true
,
"default"
:
"Simple string "
},
"simple-string-textarea"
:
{
"title"
:
"Example of Simple String with TextArea"
,
"description"
:
"Example of Simple String with TextArea"
,
"type"
:
"string"
,
"textarea"
:
true
,
"default"
:
"Simple string "
},
"simple-integer"
:
{
"title"
:
"Example of Simple Integer"
,
"description"
:
"Example of Simple Integer"
,
"type"
:
"integer"
,
"default"
:
1
},
"simple-integer"
:
{
"title"
:
"Example of Simple Integer"
,
"description"
:
"Example of Simple Integer"
,
"type"
:
"integer"
,
"default"
:
1
},
"simple-numeric-integer"
:
{
"title"
:
"Example of Simple Numeric as integer"
,
"description"
:
"Example of Simple Numeric as Interger"
,
"type"
:
"numeric"
,
"default"
:
1
},
"simple-numeric-float"
:
{
"title"
:
"Example of Simple Numeric as float"
,
"description"
:
"Example of Simple Numeric as float"
,
"type"
:
"numeric"
,
"default"
:
1.5
}
}
}
software/simpledemo/software.cfg
0 → 100644
View file @
f08be7d5
# Required to mimic software releases
software/simpledemo/software.cfg.json
0 → 100644
View file @
f08be7d5
{
"name"
:
"Simple Demo"
,
"description"
:
"Demo Simple"
,
"serialisation"
:
"xml"
,
"software-type"
:
{
"default"
:
{
"title"
:
"Default"
,
"software-type"
:
"default"
,
"description"
:
"Default"
,
"request"
:
"instance-input-schema.json"
,
"response"
:
"instance-output-schema.json"
,
"index"
:
0
}
}
}
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