Factor out common definition of Tag type (#1793)

... and remove spurious `additionalProperties: true`
This commit is contained in:
Richard van der Hoff 2024-04-17 13:51:24 +01:00 committed by GitHub
parent e82829d4a2
commit 2b5f990f60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 28 additions and 32 deletions

View file

@ -17,16 +17,7 @@
"type": "object",
"description": "The tags on the room and their contents.",
"additionalProperties": {
"title": "Tag",
"type": "object",
"properties": {
"order": {
"type": "number",
"format": "float",
"description":
"A number in a range `[0,1]` describing a relative position of the room under the given tag."
}
}
"$ref": "../../api/client-server/definitions/tag.yaml"
}
}
}