From 46a06841b2db03eb022a7520daef4fa92cb15d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochen=20K=C3=BChner?= Date: Sun, 9 May 2021 09:06:13 +0200 Subject: [PATCH] additional properties for attributes --- schema.d.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/schema.d.ts b/schema.d.ts index bc1d03e..3c62a68 100644 --- a/schema.d.ts +++ b/schema.d.ts @@ -247,6 +247,21 @@ export interface Attribute { */ defaultValue?: string; + /** + * Possible values of the attribute, if any. + */ + possibleValues?: string[]; + + /** + * If Type is numeric and has a minimum constraint. + */ + min?: string; + + /** + * If Type is numeric and has a maximum constraint. + */ + max?: string; + /** * The name of the field this attribute is associated with, if any. */