diff options
Diffstat (limited to 'config-model/src/test/derived/structandfieldset/test.sd')
-rw-r--r-- | config-model/src/test/derived/structandfieldset/test.sd | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/config-model/src/test/derived/structandfieldset/test.sd b/config-model/src/test/derived/structandfieldset/test.sd new file mode 100644 index 00000000000..77316eab9c9 --- /dev/null +++ b/config-model/src/test/derived/structandfieldset/test.sd @@ -0,0 +1,26 @@ +schema test { + + document test { + + field tag type string { + indexing: attribute + } + + struct person { + field first_name type string {} + field last_name type string {} + } + + field people type array<person> { + indexing: summary + struct-field first_name { indexing: attribute } + struct-field last_name { indexing: attribute } + } + + } + + fieldset default { + fields: tag, people.first_name + } + +} |