# Protocol

ProtoDef defines a protocol json format. It organizes types in namespaces.

The protocol object is an object with keys `types` and namespace keys.

* The value of the `types` key is an object of type name to type definition.
* The value of the namespace key is a protocol object.

See [protocol_schema.json](../schemas/protocol_schema.json) for a json schema definition of this format.
