Update map_event_tag_colors_json_schema.rb

Clarified that only hex codes are supported as  color
This commit is contained in:
Tobias Eigen 2024-04-11 10:49:49 -07:00 committed by GitHub
parent 19f1d8e9da
commit b7541f0acc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module DiscourseCalendar
},
color: {
type: "string",
description: "Color associated with the tag or category",
description: "Hex code of color associated with the tag or category",
pattern: "^#(?:[0-9a-fA-F]{3}){1,2}$",
},
},