! exec cue vet -d '#File' vet.cue data.yaml
cmp stderr expect-stderr

-- expect-stderr --
translations.hello.lang: incomplete value string:
    ./vet.cue:3:11
skip: field not allowed:
    ./data.yaml:20:1
-- vet.cue --
#File: {
	translations: [string]: {
    lang: string
    text: string
  }
}
-- data.yaml --
# translated messages
translations:
  hello:
    lang: gsw
    text: Grüetzi
---
translations:
  hello:
    text: Hoi
---
translations:
  hello:
    lang: no
    text: Hallo
---
translations:
  hello:
    lang: nl
    text: Hallo
skip: true
