diff --git a/package.json b/package.json index c60464f8a..bafa45b7b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@snapshot-labs/snapshot.js", - "version": "0.12.33", + "version": "0.12.34", "repository": "snapshot-labs/snapshot.js", "license": "MIT", "main": "dist/snapshot.cjs.js", diff --git a/src/schemas/space.json b/src/schemas/space.json index 9c4e41d7b..93ae7168b 100644 --- a/src/schemas/space.json +++ b/src/schemas/space.json @@ -107,6 +107,17 @@ "maxLength": 64, "format": "domain" }, + "discussions": { + "type": "string", + "format": "uri", + "title": "Discussions link", + "maxLength": 256 + }, + "discourseCategory": { + "type": "integer", + "minimum": 1, + "title": "Discourse category" + }, "strategies": { "type": "array", "minItems": 1, diff --git a/test/examples/space.json b/test/examples/space.json index 6087b8c34..5f464bc4b 100644 --- a/test/examples/space.json +++ b/test/examples/space.json @@ -16,6 +16,8 @@ "network": "1", "plugins": {}, "twitter": "lootproject", + "discussions": "https://discuss.ens.domains/", + "discourseCategory": 28, "domain": "vote.lootproject.abc", "strategies": [ {