The example on p. 26 of the pdf does not comply with the schema. The null value of target is actually not allowed in the schema. Proposed solution: make the target field optional in the schema.