[pve-devel] [pve-common 1/4] JSONSchema: define 'renderer' property
Dietmar Maurer
dietmar at proxmox.com
Mon Jul 2 13:34:13 CEST 2018
Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
---
src/PVE/JSONSchema.pm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm
index f0ac441..793ec60 100644
--- a/src/PVE/JSONSchema.pm
+++ b/src/PVE/JSONSchema.pm
@@ -1081,6 +1081,11 @@ my $default_schema_noref = {
optional => 1,
description => "This provides the title of the property",
},
+ renderer => {
+ type => "string",
+ optional => 1,
+ description => "This is used to provide rendering hints to format cli command output.",
+ },
requires => {
type => [ "string", "object" ],
optional => 1,
--
2.11.0
More information about the pve-devel
mailing list