Represents a complete schema definition.
Represents a complete schema definition. Syntax: Schema := { "types": [ Definition* ] } (, "codecNamespace": string constant)? (, "fullCodec": string constant)? }
Definition of an Enumeration.
Definition of an Enumeration. Syntax: Enumeration := { "name": ID "target": ("Scala" | "Java" | "Mixed") (, "namespace": string constant)? (, "doc": string constant)? (, "symbols": [ EnumerationValue* ])? (, "extra": string constant)? }
One of the values of an enumeration.
One of the values of an enumeration. Syntax: EnumerationValue := ID | { "name": ID (, "doc": string constant)? }
Interface maps to an abstract classes.
Interface maps to an abstract classes. Syntax: Interface := { "name": ID, "target": ("Scala" | "Java" | "Mixed") (, "namespace": string constant)? (, "doc": string constant)? (, "fields": [ Field* ])? (, "messages": [ Message* ])? (, "types": [ Definition* ])? (, "extra": string constant)? }
Records map to concrete classes.
Records map to concrete classes. Syntax: Record := { "name": ID "target": ("Scala" | "Java" | "Mixed") (, "namespace": string constant)? (, "doc": string constant)? (, "fields": [ Field* ])? (, "extra": string constant)? }