[2.0 spec] implement SchemaObject.required flag #686