Protocol-agnostic by design
One model describes the shapes; the protocol decides the wire format. The same service serves REST JSON, RPC v2 CBOR, AWS JSON, and query/XML, so you can adopt new protocols without touching the model.
Explore protocols{
"name": "Seattle",
"coordinates": {
"latitude": 47.6062,
"longitude": -122.3321
}
}
// CBOR is binary; shown decoded { name: "Seattle", coordinates: { latitude: 47.6062, longitude: -122.3321 } }
{
"name": "Seattle",
"coordinates": { "latitude": 47.6062, "longitude": -122.3321 }
}
<!-- XML response --> <GetCityResult> <name>Seattle</name> <coordinates> <latitude>47.6062</latitude> </coordinates> </GetCityResult>