1# Copyright (c) 2020 Nordic Semiconductor ASA 2# SPDX-License-Identifier: BSD-3-Clause 3 4description: Property enum test 5 6compatible: "enums" 7 8properties: 9 int-enum: 10 type: int 11 enum: 12 - 1 13 - 2 14 - 3 15 16 string-enum: # not tokenizable 17 type: string 18 enum: 19 - foo bar 20 - foo_bar 21 22 tokenizable-lower-enum: # tokenizable in lowercase only 23 type: string 24 enum: 25 - bar 26 - BAR 27 28 tokenizable-enum: # tokenizable in lower and uppercase 29 type: string 30 enum: 31 - bar 32 - whitespace is ok 33 - 123 is ok 34 35 array-enum: 36 type: array 37 enum: 38 - 0 39 - 10 40 - 20 41 - 30 42 - 40 43 44 string-array-enum: # tokenizable string-array 45 type: string-array 46 enum: 47 - bar 48 - foo 49 50 no-enum: 51 type: string 52