blob: 8184ea1571e54fdd1b8deef44f56b94501297116 (
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 simple {
document simple {
struct base {
field name type string {}
}
struct child inherits base {
field age type int {}
}
struct grandchild inherits child {
field toy type string {}
}
field f1 type child {}
field f2 type grandchild {}
}
}
|