summaryrefslogtreecommitdiff
path: root/priv/schema
diff options
context:
space:
mode:
Diffstat (limited to 'priv/schema')
-rw-r--r--priv/schema/rabbit.schema15
1 files changed, 14 insertions, 1 deletions
diff --git a/priv/schema/rabbit.schema b/priv/schema/rabbit.schema
index 8db2ebf3ff..9d33ea597d 100644
--- a/priv/schema/rabbit.schema
+++ b/priv/schema/rabbit.schema
@@ -73,7 +73,7 @@ end}.
]}.
-%% Maximum time for AMQP 0-8/0-9/0-9-1 handshake (after socket connection
+%% Maximum time for 0-9-1 handshake (after socket connection
%% and SSL handshake), in milliseconds.
%%
%% {handshake_timeout, 10000},
@@ -98,6 +98,19 @@ end}.
]}.
%%
+%% Definition import
+%%
+
+%% Load definitions from a JSON file or directory of files. See
+%% https://www.rabbitmq.com/management.html#load-definitions
+%%
+%% {load_definitions, "/path/to/schema.json"},
+%% {load_definitions, "/path/to/schemas"},
+{mapping, "load_definitions", "rabbit.load_definitions",
+ [{datatype, string},
+ {validators, ["file_accessible"]}]}.
+
+%%
%% Security / AAA
%% ==============
%%