Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.46 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.46 KB

Onyxia Universe package format extension

Additional properties

Onyxia extends the standard config.json to add some additional attributes to the properties.
Each property can have an additionnal x-form attribute :

"x-form": {
  "hidden": {
    "type": "boolean",
    "default": false
  },
  "readonly": {
    "type": "boolean",
    "default": false
  },
  "value": {
    "type": "string"
  }
}
Name Type Required Default Description
hidden boolean no false Whether this parameter should be displayed to the user.
readonly boolean no false Indicate this parameter should be displayed but not modifiable.
value string (mustache syntax) no Template of the value that should be generated by the form. Basic JSON Mustache syntax is supported.

Real life examples