2022-02-09 22:34:02 +01:00
[
{
"path" : [ ] ,
"type" : "object"
} ,
{
"path" : [
"id"
] ,
"type" : "string"
} ,
{
"path" : [
"group"
] ,
"type" : "string"
} ,
{
"path" : [
"labels"
] ,
"type" : "array"
} ,
{
"path" : [
2022-02-11 19:27:46 +01:00
"render"
2022-02-09 22:34:02 +01:00
] ,
"typeHint" : "rendered"
} ,
{
"path" : [
"condition"
] ,
"type" : [
{
"$ref" : "#/definitions/AndOrTagConfigJson"
} ,
{
"type" : "string"
}
]
} ,
{
"path" : [
"freeform"
] ,
"type" : "object"
} ,
{
"path" : [
"freeform" ,
"key"
] ,
"type" : "string"
} ,
{
"path" : [
"mappings"
] ,
"type" : "array"
} ,
{
"path" : [
"mappings" ,
"if"
] ,
"type" : [
{
"$ref" : "#/definitions/AndOrTagConfigJson"
} ,
{
"type" : "string"
}
]
} ,
{
"path" : [
"mappings" ,
"then"
] ,
"typeHint" : "rendered"
} ,
{
"path" : [
"mappings" ,
"icon"
] ,
"typeHint" : "icon" ,
2022-02-18 23:10:27 +01:00
"type" : [
{
"type" : "object" ,
"properties" : {
"path" : {
"description" : "The path to the icon\nType: icon" ,
"type" : "string"
} ,
"class" : {
"description" : "A hint to mapcomplete on how to render this icon within the mapping.\nThis is translated to 'mapping-icon-<classtype>', so defining your own in combination with a custom CSS is possible (but discouraged)" ,
"type" : "string"
}
} ,
"required" : [
"class" ,
"path"
]
} ,
{
"type" : "string"
}
]
} ,
{
"path" : [
"mappings" ,
"icon" ,
"path"
] ,
"typeHint" : "icon" ,
"type" : "string"
} ,
{
"path" : [
"mappings" ,
"icon" ,
"class"
] ,
2022-02-09 22:34:02 +01:00
"type" : "string"
}
]