Skip to content

Commit 8bf3023

Browse files
authored
fix: Labels description field as optional (#1064)
1 parent e5de0ca commit 8bf3023

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@snapshot-labs/snapshot.js",
3-
"version": "0.12.18",
3+
"version": "0.12.19",
44
"repository": "snapshot-labs/snapshot.js",
55
"license": "MIT",
66
"main": "dist/snapshot.cjs.js",

src/schemas/space.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,6 @@
415415
"description": {
416416
"type": "string",
417417
"title": "Description",
418-
"minLength": 1,
419418
"maxLength": 100
420419
},
421420
"color": {
@@ -424,7 +423,7 @@
424423
"format": "color"
425424
}
426425
},
427-
"required": ["id", "name", "description", "color"],
426+
"required": ["id", "name", "color"],
428427
"additionalProperties": false
429428
}
430429
},

test/examples/space.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
{
4646
"id": "893b2f3",
4747
"name": "Test 2",
48-
"description": "Test Description 2",
4948
"color": "#FBE54E"
5049
}
5150
]

0 commit comments

Comments
 (0)