Skip to content

Commit beb6dc8

Browse files
authored
Update schemas (#8)
1 parent 1c5fba6 commit beb6dc8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

schemas.go

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package spaceapivalidator
22

33
// CommitHash contains the hash of the commit the Validate function validates against
4-
var CommitHash = "b3534f2397fc6feedcf05ce79f2d5a8bc331cdb4"
4+
var CommitHash = "cc27cd47a30cb4ca7626350bf904a2364fee0f33"
55

66
// SpaceAPISchemas load from the repository as a map
77
var SpaceAPISchemas = map[string]string{
@@ -4251,7 +4251,7 @@ var SpaceAPISchemas = map[string]string{
42514251
"type": "string"
42524252
},
42534253
"contains": {
4254-
"const": "16"
4254+
"const": "16-draft"
42554255
}
42564256
},
42574257
"space": {
@@ -4596,6 +4596,13 @@ var SpaceAPISchemas = map[string]string{
45964596
"examples": [
45974597
"mumble://mumble.example.org/spaceroom?version=1.2.0"
45984598
]
4599+
},
4600+
"telegram": {
4601+
"description": "URL to Telegram channel",
4602+
"type": "string",
4603+
"examples": [
4604+
"https://t.me/example-channel"
4605+
]
45994606
}
46004607
}
46014608
},

0 commit comments

Comments
 (0)