User avatar
pancakes nonbinary_cat @pancakes@meow.company
2w
@kopper i made a json schema for valid redis data
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Red",
  "description": "Red color",
  "type": "object",
  "properties": {
    "r": {
      "description": "Red channel",
      "type": "number",
      "exclusiveMinimum": 0
      "maximum": 1
    },
    "g": {
      "description": "Green channel",
      "type": "number",
      "minimum": 0
      "maximum": 0
    },
    "b": {
      "description": "Blue channel",
      "type": "number",
      "minimum": 0
      "maximum": 0
    }
  },
  "required": [ "r", "g", "b" ]
}