diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 14:53:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 14:53:22 +0000 |
commit | 52c021ee0b0c6ad2128ed550c694aad0d11d4c3f (patch) | |
tree | 83cf8627b94336cf4bee7479b9749263bbfd3a06 /src/lib/config/tests/testdata/spec31.spec | |
parent | Initial commit. (diff) | |
download | isc-kea-upstream.tar.xz isc-kea-upstream.zip |
Adding upstream version 2.5.7.upstream/2.5.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/lib/config/tests/testdata/spec31.spec')
-rw-r--r-- | src/lib/config/tests/testdata/spec31.spec | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/lib/config/tests/testdata/spec31.spec b/src/lib/config/tests/testdata/spec31.spec new file mode 100644 index 0000000..9eebfd1 --- /dev/null +++ b/src/lib/config/tests/testdata/spec31.spec @@ -0,0 +1,63 @@ +{ + "module_spec": { + "module_name": "lists", + "module_description": "Logging options", + "config_data": [ + { + "item_name": "first_list_items", + "item_type": "list", + "item_optional": false, + "item_default": [], + "list_item_spec": { + "item_name": "first_list_item", + "item_type": "map", + "item_optional": false, + "item_default": {}, + "map_item_spec": [ + { "item_name": "foo", + "item_type": "string", + "item_optional": false, + "item_default": "foo" + }, + { "item_name": "second_list_items", + "item_type": "list", + "item_optional": false, + "item_default": [], + "list_item_spec": { + "item_name": "second_list_item", + "item_type": "map", + "item_optional": false, + "item_default": {}, + "map_item_spec": [ + { "item_name": "map_element", + "item_type": "map", + "item_optional": false, + "item_default": {}, + "map_item_spec": [ + { "item_name": "list1", + "item_type": "list", + "item_optional": false, + "item_default": [], + "list_item_spec": + { "item_name": "list2", + "item_type": "list", + "item_optional": false, + "item_default": [], + "list_item_spec": + { "item_name": "number", + "item_type": "integer", + "item_optional": false, + "item_default": 1 + } + } + }] + } + ] + } + } + ] + } + } + ] + } +} |