Skip to content

Commit 0b37791

Browse files
Update Schema.md
Changing URI to be in Metadata as per rsocket/rsocket#22
1 parent 8f95ad7 commit 0b37791

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Schema.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@ A default schema for use with ReactiveSocket.
44

55
### Version 0 – application/x.reactivesocket.v0+xxx
66

7-
#### Data
7+
#### Metadata
88

99
Requests must contain fields used for routing:
1010

1111
```
1212
Key: uri [REQUIRED]
1313
Value: String
14-
15-
Key: body [OPTIONAL]
16-
Value: Object
1714
```
1815

1916
Non-request types have no specific keys, just "Object" encoded in the specificed encoding (ie. JSON, CBOR, etc)
@@ -24,7 +21,7 @@ MimeTypes for the above schema:
2421
- application/x.reactivesocket.v0+cbor (schema above encoded with CBOR)
2522

2623

27-
#### Metadata
24+
#### Data
2825

2926
There is no specific schema so it is expected to use JSON, CBOR, etc as is.
3027

0 commit comments

Comments
 (0)