polls min 0, max 20, max length 100, min 0, unique items not needed

This commit is contained in:
nelle 2024-08-18 17:37:12 -06:00
parent 8dac3e00af
commit ae03cdccf7

View file

@ -139,10 +139,10 @@ export const paramDef = {
properties: { properties: {
choices: { choices: {
type: "array", type: "array",
uniqueItems: true, uniqueItems: false,
minItems: 2, minItems: 0,
maxItems: 10, maxItems: 20,
items: { type: "string", minLength: 1, maxLength: 50 }, items: { type: "string", minLength: 0, maxLength: 100 },
}, },
multiple: { type: "boolean", default: false }, multiple: { type: "boolean", default: false },
expiresAt: { type: "integer", nullable: true }, expiresAt: { type: "integer", nullable: true },