From f37ef6193eaf8c02272c656314e615e6d3ae0a02 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Thu, 23 Dec 2021 16:08:00 +0100 Subject: Limit a field to one among a list of values --- .../wrong/items/139770330d344a2f9d73945fab3bf47b.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/data/wrong/items/139770330d344a2f9d73945fab3bf47b.yaml (limited to 'tests/data/wrong/items/139770330d344a2f9d73945fab3bf47b.yaml') diff --git a/tests/data/wrong/items/139770330d344a2f9d73945fab3bf47b.yaml b/tests/data/wrong/items/139770330d344a2f9d73945fab3bf47b.yaml new file mode 100644 index 0000000..84d2648 --- /dev/null +++ b/tests/data/wrong/items/139770330d344a2f9d73945fab3bf47b.yaml @@ -0,0 +1,16 @@ +name: 'invalid owner' +description: | + This entry has an owner that is not on the list of allowed owners. +position: '' +# # number (integer): Enter an integer here +number: 0 +# # float (float): Enter a floating point number here +float: 0.0 +# # price (decimal): prices are never float! +price: '0' +things: [] +# # cloud (cloud): There is no cloud type +cloud: +category: '' +owners: + - them -- cgit v1.2.3