From 591211fa015d3075af4c593aea1b5d09d5af0ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Rodrigo?= Date: Mon, 19 Feb 2024 11:45:18 +0100 Subject: [PATCH] stars as enum --- datasources/schemas/tags/hosting.schema.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/datasources/schemas/tags/hosting.schema.json b/datasources/schemas/tags/hosting.schema.json index a8cd8e5..c781b47 100644 --- a/datasources/schemas/tags/hosting.schema.json +++ b/datasources/schemas/tags/hosting.schema.json @@ -9,7 +9,22 @@ ] }, "stars": { - "type": "string" + "enum": [ + "1", + "1S", + "1.5", + "2", + "2S", + "2.5", + "3", + "3S", + "3.5", + "4", + "4S", + "4.5", + "5", + "5S" + ] }, "award:tournesol": { "title": "Non OSM",