aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/duplicate_struct/foo.sd
blob: 7cb298cd34486ec87739dbead8fc6d0c7e9d6d30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright Vespa.ai. 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 { }
  }
}