Add business rule in core proto about message types and URN

This commit is contained in:
ChronosX88 2020-09-05 23:56:45 +04:00
parent 9ea670c6d4
commit 14192dea17
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A

View File

@ -37,6 +37,7 @@ MUST NOT be empty, and MUST contain only the characters `a-z`, `0-9`, `.`, `_`,
- RoomID SHOULD be UUID identifier. - RoomID SHOULD be UUID identifier.
- Servers MUST use server ID in internal purposes instead of normal server-part with hostname. Only end-users MUST use normal server-part with hostname. This is done for easy multi-domain serving. - Servers MUST use server ID in internal purposes instead of normal server-part with hostname. Only end-users MUST use normal server-part with hostname. This is done for easy multi-domain serving.
- The type of messages SHOULD be URNs starting with `urn:cadmium` namespace.
## BaseMessage ## BaseMessage