aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/importedfields/parent_a.sd
blob: c3ff0dd249ee4a31985af94d2c6e45ebfccaaa32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema parent_a {
  document parent_a {
    field grandparent_ref type reference<grandparent> {
      indexing: attribute
    }
    field int_field type int {
      indexing: attribute
    }
    field int_array_field type array<int> {
      indexing: attribute
    }
    field int_wset_field type weightedset<int> {
      indexing: attribute
    }
  }
  import field grandparent_ref.int_field as ancient_int_field {}
}