JEST response is either XML or JSON. h2. XML Representation JEST represents persistent Java object graph in a schema-compliant XML. The schema is metamodel-driven and hence invariant to particular domain model. The schema {{jest-instance.xsd}} is as follows: {code:xml|title=Metamodel-driven schema for JEST XML} {code} h3. Example of a serialized object graph The example shows a Person (primary key p1) who is her own partner. {code:xml|title=Example of Object Graph with Circular Reference} p1 Fri Sep 08 00:00:00 CDT 1989 Mary Female Smith 101 C1 State1 Street1 10001 {code} h2. JSON Representation String-based representation of persistent Java object graphs in either XML or more succinct JSON form has to address the critical issue of circular reference, because persistent object graphs often contains circular reference. JSON, at this point of writing, does not address circular reference. Hence JEST introduces special semantics within JSON format to refer to instances in a serialized graph. However, the enhanced JSON can be parsed by standard JSON parsers. Enhanced JSON representation in JEST introduces two _special_ fields named {{$id}} and {{$ref}} to address circular reference. Each JSON object carries a {{$id}} field whose value is the persistent identity of the corresponding entity. When JSON serialization encounters a circular reference a