aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/duplicate_struct/foo.sd
blob: 4eda86f70bdcefafa3e0294bd566c5676f3d0c56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

schema foo {
  document foo {
    field timestamp type long {
      indexing: summary | attribute
    }
    field mystuff type array<mystruct> {
      indexing: summary
    }
  }

  struct mystruct {
    field name type string { }
    field company type string { }
  }
}