aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/converter/child.sd
blob: cdfc339ed5907f6e54585044defea357b23ab22e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search child {

  document child inherits parent {

    field a type uri {
       indexing: index | summary
    }

    field r type redef {
      indexing: summary
    }

    field aaa type annotationreference<gpa> { }

    field modelref type reference<other> { }

  }
  field outrarr type array<string> {
      indexing: input a | to_array | summary
  }

}